Rev 7113 | Rev 11287 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7113 | Rev 8117 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | Norbert Haider, norbert.haider@univie.ac.at, modified by Ernst-Georg Schmid |
2 | Norbert Haider, norbert.haider@univie.ac.at, modified by Ernst-Georg Schmid |
3 | 3 | ||
4 | :curvecomp |
4 | :curvecomp |
5 | Xiao Gang |
5 | Xiao Gang |
6 | Compare two curves |
6 | Compare two curves |
7 | Input parameters: environment.<br/> w_curvecomp_1 and w_curvecomp_2: curves to compare, as lists of points.<br/> w_curvecomp_xrange and w_curvecomp_yrange: list of 2 integers each.<br/> w_curvecomp_tolerance: Maximal tolerance of distances. |
7 | Input parameters: environment.<br/> w_curvecomp_1 and w_curvecomp_2: curves to compare, as lists of points.<br/> w_curvecomp_xrange and w_curvecomp_yrange: list of 2 integers each.<br/> w_curvecomp_tolerance: Maximal tolerance of distances. |
8 | Output: 10 double numbers separated by white spaces.<br/>- Average distance of curve 1 with respect to curve 2.<br/> - Average distance of curve 2 with respect to curve 1.<br/> - Maximal distance of curve 1 with respect to curve 2.<br/> - Maximal distance of curve 2 with respect to curve 1.<br/> - Proportion of curve 1 close to curve 2.<br/> - Proportion of curve 2 close to curve 1.<br/> - Maximal jump of curve 1.<br/> - Maximal jump of curve 2.<br/> - Ratio of repetitions found in curve 1.<br/> Number 10: Ratio of repetitions found in curve 2.<br/> Furthermore, words "fnofx" and/or "fnofy" will appear if curve 2 represents the graph of a function of x (and/or y).<br/> Returns empty if one of the curves is degenerated. |
8 | Output: 10 double numbers separated by white spaces.<br/>- Average distance of curve 1 with respect to curve 2.<br/> - Average distance of curve 2 with respect to curve 1.<br/> - Maximal distance of curve 1 with respect to curve 2.<br/> - Maximal distance of curve 2 with respect to curve 1.<br/> - Proportion of curve 1 close to curve 2.<br/> - Proportion of curve 2 close to curve 1.<br/> - Maximal jump of curve 1.<br/> - Maximal jump of curve 2.<br/> - Ratio of repetitions found in curve 1.<br/> Number 10: Ratio of repetitions found in curve 2.<br/> Furthermore, words "fnofx" and/or "fnofy" will appear if curve 2 represents the graph of a function of x (and/or y).<br/> Returns empty if one of the curves is degenerated. |
9 | curvecomp_1=0,92,1,92,2,92,3,92\\curvecomp_2=46,41,48,41,50,45\\curvecomp_tolerance=40\\curvecomp_xrange=11,208\\curvecomp_yrange=0,220 |
9 | curvecomp_1=0,92,1,92,2,92,3,92\\curvecomp_2=46,41,48,41,50,45\\curvecomp_tolerance=40\\curvecomp_xrange=11,208\\curvecomp_yrange=0,220 |
10 | xx |
10 | xx |
11 | 11 | ||
12 | :cyclicode |
12 | :cyclicode |
13 | Xiao Gang |
13 | Xiao Gang |
14 | This program generates cyclic code from a polynomial defined over a prime field. It does not check whether the polynomial is primitive or irreducible. |
14 | This program generates cyclic code from a polynomial defined over a prime field. It does not check whether the polynomial is primitive or irreducible. |
15 | Accepted parameter: 3 words<br/> Word 1: field characteristics, limited to 2,3,5,7<br/> Word 2: The polynomial coefficients (except the leading one, from lower degree to higher).<br/>Word 3: The starting status (starting from the first bit). |
15 | Accepted parameter: 3 words<br/> Word 1: field characteristics, limited to 2,3,5,7<br/> Word 2: The polynomial coefficients (except the leading one, from lower degree to higher).<br/>Word 3: The starting status (starting from the first bit). |
16 | 16 | ||
17 | 17 | ||
18 | 3 22 10 |
18 | 3 22 10 |
19 | 19 | ||
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 | For the moment, use only in deductio |
|
49 | 50 | ||
50 | :moneyprint |
51 | :moneyprint |
51 | prints a number with fixed amount of decimal places |
52 | 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 |
53 | 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 |
53 | 54 | ||
Line 60... | Line 61... | ||
60 | shortpath_style=0 |
61 | shortpath_style=0 |
61 | 1,3\\5,1\\3,4\\1,1\\3,1\\4,5 |
62 | 1,3\\5,1\\3,4\\1,1\\3,1\\4,5 |
62 | 63 | ||
63 | :scienceprint |
64 | :scienceprint |
64 | J.M. Evers |
65 | J.M. Evers |
65 | Prints a number in |
66 | Prints a number in scientific 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×10<sup>-4</sup></li><li>2 : latex format : 1.234\times10^{-4}</li><li>3 : prefix format : 1.234×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>×</mo><msup><mn>10</mn><mn>-4</mn></msup></mstyle></math</li><li>5 : long prefix format : 1.234×10<sup>-1</sup> milli</li></ul> |
67 | 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×10<sup>-4</sup></li><li>2 : latex format : 1.234\times10^{-4}</li><li>3 : prefix format : 1.234×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>×</mo><msup><mn>10</mn><mn>-4</mn></msup></mstyle></math</li><li>5 : long prefix format : 1.234×10<sup>-1</sup> milli</li></ul> |
67 | 68 | ||
68 | :voronoi |
69 | :voronoi |
69 | Steve J. Fortune |
70 | Steve J. Fortune |
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. |
71 | 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. |
Line 75... | Line 76... | ||
75 | 76 | ||
76 | :translator |
77 | :translator |
77 | Xiao Gang |
78 | Xiao Gang |
78 | Versatile translation according to a dictionary |
79 | Versatile translation according to a dictionary |
79 | for adm modules |
80 | for adm modules |
- | 81 | ||
- | 82 | :oncechar |
|
- | 83 | Xiao Gang |
|
- | 84 | This special program selects words composed by selected characters, each selected character being used at most once in the word. Used in the shell script public_html/bin/dicfind |
|
- | 85 | Selected characters are entered by the env var 'oncechar'. Words entered by stdin. Output to stdout. |
|
80 | 86 |