Subversion Repositories wimsdev

Rev

Rev 4562 | Rev 5766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4562 Rev 5549
Line 4... Line 4...
4
  $lst_mean Translate the mathematical expression $emph expr$emphend,
4
  $lst_mean Translate the mathematical expression $emph expr$emphend,
5
  possibly with common user errors, into a machine-understandable
5
  possibly with common user errors, into a machine-understandable
6
  mathematical expression. <br>
6
  mathematical expression. <br>
7
  It will replace $emph (x+1)(x-1)$emphend into $emph (x+1)*(x-1)$emphend,
7
  It will replace $emph (x+1)(x-1)$emphend into $emph (x+1)*(x-1)$emphend,
8
  $emph 5x^3$emphend into $emph 5*x^3$emphend, etc.
8
  $emph 5x^3$emphend into $emph 5*x^3$emphend, etc.
-
 
9
  More precisely,
-
 
10
 <ul><li>
-
 
11
  Replace some badcharacters as **, ², ³.
-
 
12
   </li><li>translate ++, +-, -+, ... into one sign
-
 
13
   </li><li>
-
 
14
   translate | | in abs
-
 
15
   </li><li>
-
 
16
   replace new lines or tabs by spaces
-
 
17
   </li><li>
-
 
18
   add zero in case of decimal digits if necessary : for example, replace 4. by 4.0  and .5 -> 0.5
-
 
19
   </li><li>
-
 
20
   replace justapositions by multiplications if rawmatheasy=yes
-
 
21
   </ul>
-
 
22
   
9
 
23
 
10
 
24