4,7 → 4,7 |
:curvecomp |
Xiao Gang |
Compare two curves |
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. |
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. |
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. |
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 |
xx |
11,7 → 11,7 |
|
:cyclicode |
Xiao Gang |
This program generates cyclic code from a polynomial defined over a prime field. It does not check whether the polynomial is primitive or irreducible. |
This program generates cyclic code from a polynomial defined over a prime field. It does not check whether the polynomial is primitive or irreducible. |
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). |
|
|
46,6 → 46,7 |
:mathexp |
Xiao Gang |
Mathematical expression manipulations for WIMS |
For the moment, use only in deductio |
|
:moneyprint |
prints a number with fixed amount of decimal places |
62,7 → 63,7 |
|
:scienceprint |
J.M. Evers |
Prints a number in scientiffic notation. |
Prints a number in scientific notation. |
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> |
|
:voronoi |
78,3 → 79,8 |
Versatile translation according to a dictionary |
for adm modules |
|
:oncechar |
Xiao Gang |
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 |
Selected characters are entered by the env var 'oncechar'. Words entered by stdin. Output to stdout. |
|