Rev 5921 | Rev 11292 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | reyssat | 1 | !! +exec+ +var+ +string+ |
11210 | bpr | 2 | tit:rawmath |
3 | type:$type_both |
||
4 | syntax:!rawmath `expr' |
||
5 | mean:Translate the mathematical expression `expr', possibly with common user errors, \ |
||
6 | into a machine-understandable mathematical expression. <br/>\ |
||
7 | It will replace `(x+1)(x-1)' into `(x+1)*(x-1)', `5x^3' into `5*x^3', etc.\ |
||
8 | More precisely,\ |
||
9 | <ul><li>\ |
||
10 | Replace some badcharacters as **, ², ³.\ |
||
11 | </li><li>translate ++, +-, -+, ... into one sign\ |
||
12 | </li><li>\ |
||
13 | translate | | in abs\ |
||
14 | </li><li>\ |
||
15 | replace new lines or tabs by spaces\ |
||
16 | </li><li>\ |
||
17 | add zero in case of decimal digits if necessary: for example, replace 4. by 4.0 and .5 -> 0.5\ |
||
18 | </li><li>\ |
||
19 | replace justapositions by multiplications if rawmatheasy=yes\ |
||
20 | </li></ul> |