Subversion Repositories wimsdev

Rev

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

Rev 5921 Rev 7113
Line 44... Line 44...
44
Norbert Haider, norbert.haider@univie.ac.at, modified by Ernst-Georg Schmid
44
Norbert Haider, norbert.haider@univie.ac.at, modified by Ernst-Georg Schmid
45
 
45
 
46
:mathexp
46
:mathexp
47
Xiao Gang
47
Xiao Gang
48
Mathematical expression manipulations for WIMS
48
Mathematical expression manipulations for WIMS
-
 
49
 
-
 
50
:moneyprint
-
 
51
prints a number with fixed amount of decimal places
-
 
52
Usage:!exec moneyprint number1,number2,number3....number_n decimal_places<br />\text{A=wims(exec moneyprint number1,number2,number3....number_n decimal_places)}<br />default value "decimal_places = 2"<br />A=!exec moneyprint 123,43.5,23.45665<br />A=123.00,43.50,23.47<br />or specified a last "word"<br />A=!exec moneyprint 123,43.5,23.45665 3 <br />A=123.000,43.500,23.457
49
 
53
 
50
 
54
 
51
:shortpath
55
:shortpath
52
Xiao Gang
56
Xiao Gang
53
Finds the shortest paths linking given points
57
Finds the shortest paths linking given points
54
wims_exec_parm is ... . w_shortpath_style : 0: loop to the start<br/> 1: arbitrary open path<br/> 2: open path with fixed start<br/> 3: open path with fixed end<br/> 4: open path with fixed start and end
58
wims_exec_parm is ... . w_shortpath_style : 0: loop to the start<br/> 1: arbitrary open path<br/> 2: open path with fixed start<br/> 3: open path with fixed end<br/> 4: open path with fixed start and end
55
 
59
 
56
shortpath_style=0
60
shortpath_style=0
57
1,3\\5,1\\3,4\\1,1\\3,1\\4,5
61
1,3\\5,1\\3,4\\1,1\\3,1\\4,5
58
 
62
 
-
 
63
:scienceprint
-
 
64
J.M. Evers
-
 
65
Prints a number in scientiffic notation.
-
 
66
Usage: !exec scienceprint number,significant_digits,output_type<br />\text{A=wims(exec scienceprint number,significant_digits,output_type )}<br /><ul>output_type can be<li>0 : calculating format : 1.234*10^-4</li><li>1 : html format :1.234&times;10<sup>-4</sup></li><li>2 : latex format : 1.234\times10^{-4}</li><li>3 : prefix format : 1.234&times;10<sup>-1</sup> m</li><li>4 : mathml format : <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mstyle id="wims_mathml" mathsize="110%"><mn>1.234</mn><mo>&times;</mo><msup><mn>10</mn><mn>-4</mn></msup></mstyle></math</li><li>5 : long prefix format : 1.234&times;10<sup>-1</sup> milli</li></ul>
59
 
67
 
60
:voronoi
68
:voronoi
61
Steve J. Fortune
69
Steve J. Fortune
62
compute Voronoi diagram or Delaunay triangulation. Voronoi reads the standard input for a set of points in the plane and writes either the Voronoi diagram or the Delaunay triangulation to the standard output.
70
compute Voronoi diagram or Delaunay triangulation. Voronoi reads the standard input for a set of points in the plane and writes either the Voronoi diagram or the Delaunay triangulation to the standard output.
63
Each input line should consist of two real numbers, separated by white space.
71
Each input line should consist of two real numbers, separated by white space.