jsxgraph 1.14.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/CHANGELOG.md +33 -3
  2. package/distrib/docs/3d_linspace3d.js.html +16 -10
  3. package/distrib/docs/3d_point3d.js.html +0 -5
  4. package/distrib/docs/3d_sphere3d.js.html +92 -69
  5. package/distrib/docs/3d_view3d.js.html +24 -16
  6. package/distrib/docs/Angle.html +7 -7
  7. package/distrib/docs/CircumcircleSector.html +2 -2
  8. package/distrib/docs/Conic.html +1 -1
  9. package/distrib/docs/Ellipse.html +23 -1
  10. package/distrib/docs/Hyperbola.html +24 -1
  11. package/distrib/docs/JXG.Board.infobox.html +1 -1
  12. package/distrib/docs/JXG.Board_.html +130 -130
  13. package/distrib/docs/JXG.CanvasRenderer.html +10 -10
  14. package/distrib/docs/JXG.Composition.html +3 -3
  15. package/distrib/docs/JXG.GeometryElement.html +26 -26
  16. package/distrib/docs/JXG.Math.Numerics.html +45 -47
  17. package/distrib/docs/JXG.Math.Statistics.html +14 -15
  18. package/distrib/docs/JXG.Math.Tiling.html +3 -7
  19. package/distrib/docs/JXG.Math.html +101 -83
  20. package/distrib/docs/JXG.Point3D.html +2 -2
  21. package/distrib/docs/JXG.SVGRenderer.html +12 -12
  22. package/distrib/docs/JXG.Sphere3D.html +1255 -2
  23. package/distrib/docs/JXG.View3D.html +29 -29
  24. package/distrib/docs/JXG.html +20 -20
  25. package/distrib/docs/MajorSector.html +1 -1
  26. package/distrib/docs/MinorSector.html +1 -1
  27. package/distrib/docs/NonReflexAngle.html +1 -1
  28. package/distrib/docs/Parabola.html +1 -1
  29. package/distrib/docs/Point3D.html +1 -1
  30. package/distrib/docs/ReflexAngle.html +1 -1
  31. package/distrib/docs/Sector.html +12 -12
  32. package/distrib/docs/Sphere3D.html +17 -1
  33. package/distrib/docs/View3D.html +1 -1
  34. package/distrib/docs/base_board.js.html +63 -13
  35. package/distrib/docs/base_composition.js.html +3 -3
  36. package/distrib/docs/base_constants.js.html +1 -1
  37. package/distrib/docs/base_element.js.html +2 -1
  38. package/distrib/docs/base_text.js.html +2 -2
  39. package/distrib/docs/element_conic.js.html +35 -1
  40. package/distrib/docs/element_sector.js.html +6 -3
  41. package/distrib/docs/index.html +1 -1
  42. package/distrib/docs/math_math.js.html +64 -35
  43. package/distrib/docs/math_numerics.js.html +13 -12
  44. package/distrib/docs/math_statistics.js.html +19 -19
  45. package/distrib/docs/math_tiling.js.html +6 -288
  46. package/distrib/docs/parser_jessiecode.js.html +1 -1
  47. package/distrib/docs/renderer_canvas.js.html +7 -6
  48. package/distrib/docs/renderer_svg.js.html +15 -7
  49. package/distrib/docs/scripts/jsxgraphcore.js +2 -2
  50. package/distrib/docs/styles/jsxgraph.css +1 -1
  51. package/distrib/docs/utils_type.js.html +11 -4
  52. package/distrib/geogebra.min.js +1 -1
  53. package/distrib/geonext.min.js +1 -1
  54. package/distrib/index.d.ts +11 -0
  55. package/distrib/intergeo.min.js +1 -1
  56. package/distrib/jsxgraph.css +1 -1
  57. package/distrib/jsxgraphcore.js +2 -2
  58. package/distrib/jsxgraphcore.mjs +2 -2
  59. package/distrib/jsxgraphcore.mjs.map +1 -1
  60. package/distrib/jsxgraphsrc.js +380 -496
  61. package/distrib/jsxgraphsrc.mjs +380 -496
  62. package/distrib/jsxgraphsrc.mjs.map +1 -1
  63. package/package.json +10 -12
  64. package/src/3d/linspace3d.js +16 -10
  65. package/src/3d/point3d.js +0 -5
  66. package/src/3d/sphere3d.js +92 -69
  67. package/src/3d/view3d.js +24 -16
  68. package/src/base/board.js +63 -13
  69. package/src/base/composition.js +3 -3
  70. package/src/base/constants.js +1 -1
  71. package/src/base/element.js +2 -1
  72. package/src/base/text.js +2 -2
  73. package/src/element/conic.js +35 -1
  74. package/src/element/sector.js +6 -3
  75. package/src/index.d.ts +11 -0
  76. package/src/math/math.js +64 -35
  77. package/src/math/numerics.js +13 -12
  78. package/src/math/statistics.js +19 -19
  79. package/src/math/tiling.js +6 -288
  80. package/src/parser/jessiecode.js +1 -1
  81. package/src/renderer/canvas.js +7 -6
  82. package/src/renderer/svg.js +15 -7
  83. package/src/utils/type.js +11 -4
  84. package/src/unused/bst.js +0 -475
  85. package/src/unused/heap.js +0 -135
  86. package/src/unused/locus.js +0 -162
  87. package/src/unused/server/JXG.py +0 -74
  88. package/src/unused/server/JXGServer.py +0 -94
  89. package/src/unused/server/JXGServerModule.py +0 -9
  90. package/src/unused/server/README.md +0 -63
  91. package/src/unused/server/RStats.py +0 -45
  92. package/src/unused/server/YahooFinance.py +0 -81
  93. package/src/unused/server/fft.py +0 -136
  94. package/src/unused/server/geoloci.py +0 -210
  95. package/src/unused/server/jxggroebner.py +0 -219
  96. package/src/unused/server/jxgtestplugin.py +0 -19
  97. package/src/unused/server/server.js +0 -280
  98. package/src/unused/sketch.js +0 -2895
  99. package/src/unused/symbolic.js +0 -416
@@ -208,7 +208,7 @@
208
208
 
209
209
  <dt class="tag-source">Source</dt>
210
210
  <dd class="tag-source">
211
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3422">line 3422</a>
211
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3423">line 3423</a>
212
212
  </dd>
213
213
 
214
214
 
@@ -281,7 +281,7 @@
281
281
 
282
282
  <dt class="tag-source">Source</dt>
283
283
  <dd class="tag-source">
284
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3414">line 3414</a>
284
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3415">line 3415</a>
285
285
  </dd>
286
286
 
287
287
 
@@ -1171,7 +1171,7 @@ minus three.</p>
1171
1171
 
1172
1172
  <dt class="tag-source">Source</dt>
1173
1173
  <dd class="tag-source">
1174
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2474">line 2474</a>
1174
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2475">line 2475</a>
1175
1175
  </dd>
1176
1176
 
1177
1177
 
@@ -1364,7 +1364,7 @@ returning the length of the points array minus three.</p>
1364
1364
 
1365
1365
  <dt class="tag-source">Source</dt>
1366
1366
  <dd class="tag-source">
1367
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2657">line 2657</a>
1367
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2658">line 2658</a>
1368
1368
  </dd>
1369
1369
 
1370
1370
 
@@ -1575,7 +1575,7 @@ method of an object and contains a reference to its parent object via &quot;this
1575
1575
 
1576
1576
  <dt class="tag-source">Source</dt>
1577
1577
  <dd class="tag-source">
1578
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3001">line 3001</a>
1578
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3002">line 3002</a>
1579
1579
  </dd>
1580
1580
 
1581
1581
 
@@ -2007,7 +2007,7 @@ QUADPACK for an explanation.</p></td>
2007
2007
 
2008
2008
  <dt class="tag-source">Source</dt>
2009
2009
  <dd class="tag-source">
2010
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line965">line 965</a>
2010
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line966">line 966</a>
2011
2011
  </dd>
2012
2012
 
2013
2013
 
@@ -2220,7 +2220,7 @@ QUADPACK for an explanation.</p></td>
2220
2220
 
2221
2221
  <dt class="tag-source">Source</dt>
2222
2222
  <dd class="tag-source">
2223
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1010">line 1010</a>
2223
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1011">line 1011</a>
2224
2224
  </dd>
2225
2225
 
2226
2226
 
@@ -2433,7 +2433,7 @@ QUADPACK for an explanation.</p></td>
2433
2433
 
2434
2434
  <dt class="tag-source">Source</dt>
2435
2435
  <dd class="tag-source">
2436
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1058">line 1058</a>
2436
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1059">line 1059</a>
2437
2437
  </dd>
2438
2438
 
2439
2439
 
@@ -2764,7 +2764,7 @@ values between 2 and 18, default value is 12.</p>
2764
2764
 
2765
2765
  <dt class="tag-source">Source</dt>
2766
2766
  <dd class="tag-source">
2767
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line606">line 606</a>
2767
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line607">line 607</a>
2768
2768
  </dd>
2769
2769
 
2770
2770
 
@@ -2963,7 +2963,7 @@ values between 2 and 18, default value is 12.</p>
2963
2963
 
2964
2964
  <dt class="tag-source">Source</dt>
2965
2965
  <dd class="tag-source">
2966
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1498">line 1498</a>
2966
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1499">line 1499</a>
2967
2967
  </dd>
2968
2968
 
2969
2969
 
@@ -3334,7 +3334,7 @@ That means the curve is defined between x1 and x2(). x2 returns the (length of a
3334
3334
 
3335
3335
  <dt class="tag-source">Source</dt>
3336
3336
  <dd class="tag-source">
3337
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1856">line 1856</a>
3337
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1857">line 1857</a>
3338
3338
  </dd>
3339
3339
 
3340
3340
 
@@ -3547,7 +3547,7 @@ the function is a method of an object and contains a reference to its parent obj
3547
3547
 
3548
3548
  <dt class="tag-source">Source</dt>
3549
3549
  <dd class="tag-source">
3550
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1518">line 1518</a>
3550
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1519">line 1519</a>
3551
3551
  </dd>
3552
3552
 
3553
3553
 
@@ -4404,7 +4404,7 @@ q the internal quadrature sub-algorithm of type function.</p>
4404
4404
 
4405
4405
  <dt class="tag-source">Source</dt>
4406
4406
  <dd class="tag-source">
4407
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1303">line 1303</a>
4407
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1304">line 1304</a>
4408
4408
  </dd>
4409
4409
 
4410
4410
 
@@ -4663,7 +4663,7 @@ It discards points which are not necessary from the polygonal line defined by th
4663
4663
 
4664
4664
  <dt class="tag-source">Source</dt>
4665
4665
  <dd class="tag-source">
4666
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4810">line 4810</a>
4666
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4811">line 4811</a>
4667
4667
  </dd>
4668
4668
 
4669
4669
 
@@ -4756,7 +4756,7 @@ It discards points which are not necessary from the polygonal line defined by th
4756
4756
 
4757
4757
  <dt class="tag-source">Source</dt>
4758
4758
  <dd class="tag-source">
4759
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4856">line 4856</a>
4759
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4857">line 4857</a>
4760
4760
  </dd>
4761
4761
 
4762
4762
 
@@ -4792,17 +4792,15 @@ It discards points which are not necessary from the polygonal line defined by th
4792
4792
 
4793
4793
 
4794
4794
 
4795
- <pre class="prettyprint"><code>function f(x) {
4796
- return x*x;
4797
- }
4795
+ <pre class="prettyprint"><code>var f = (x) => x * x;
4798
4796
 
4799
- // calculates integral of `f` from 0 to 2.
4800
- var area1 = JXG.Math.Numerics.Romberg([0, 2], f);
4797
+ // Calculates integral of `f` from 0 to 3.
4798
+ var area1 = JXG.Math.Numerics.Romberg([0, 3], f);
4801
4799
 
4802
- // the same with an anonymous function
4803
- var area2 = JXG.Math.Numerics.Romberg([0, 2], function (x) { return x*x; });
4800
+ // The same with an anonymous function
4801
+ var area2 = JXG.Math.Numerics.Romberg([0, 3], function (x) { return x * x; });
4804
4802
 
4805
- // use trapez rule with maximum of 16 iterations or stop if the precision 0.0001 has been reached.
4803
+ // Use trapez rule with maximum of 16 iterations or stop if the precision 0.0001 has been reached.
4806
4804
  var area3 = JXG.Math.Numerics.Romberg([0, 2], f,
4807
4805
  {max_iterations: 16, eps: 0.0001});</code></pre>
4808
4806
 
@@ -4929,7 +4927,7 @@ var area3 = JXG.Math.Numerics.Romberg([0, 2], f,
4929
4927
 
4930
4928
 
4931
4929
 
4932
- <td class="description"><p>The algorithm setup. Accepted properties are max_iterations of type number and precision eps.</p>
4930
+ <td class="description"><p>The algorithm setup. Accepted properties are <code>max_iterations</code> of type number and precision <code>eps</code>.</p>
4933
4931
  <h6>Properties</h6>
4934
4932
 
4935
4933
 
@@ -5126,7 +5124,7 @@ var area3 = JXG.Math.Numerics.Romberg([0, 2], f,
5126
5124
 
5127
5125
  <dt class="tag-source">Source</dt>
5128
5126
  <dd class="tag-source">
5129
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line532">line 532</a>
5127
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line530">line 530</a>
5130
5128
  </dd>
5131
5129
 
5132
5130
 
@@ -5387,7 +5385,7 @@ be taken in any case.</p></td>
5387
5385
 
5388
5386
  <dt class="tag-source">Source</dt>
5389
5387
  <dd class="tag-source">
5390
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4938">line 4938</a>
5388
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4939">line 4939</a>
5391
5389
  </dd>
5392
5390
 
5393
5391
 
@@ -5630,7 +5628,7 @@ be taken in any case.</p></td>
5630
5628
 
5631
5629
  <dt class="tag-source">Source</dt>
5632
5630
  <dd class="tag-source">
5633
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3045">line 3045</a>
5631
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3046">line 3046</a>
5634
5632
  </dd>
5635
5633
 
5636
5634
 
@@ -5818,7 +5816,7 @@ be taken in any case.</p></td>
5818
5816
 
5819
5817
  <dt class="tag-source">Source</dt>
5820
5818
  <dd class="tag-source">
5821
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1110">line 1110</a>
5819
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1111">line 1111</a>
5822
5820
  </dd>
5823
5821
 
5824
5822
 
@@ -6242,7 +6240,7 @@ no parameters and returning one third of the length of the points.</p>
6242
6240
 
6243
6241
  <dt class="tag-source">Source</dt>
6244
6242
  <dd class="tag-source">
6245
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2821">line 2821</a>
6243
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2822">line 2822</a>
6246
6244
  </dd>
6247
6245
 
6248
6246
 
@@ -6432,7 +6430,7 @@ returning the length of the points array minus one.</p>
6432
6430
 
6433
6431
  <dt class="tag-source">Source</dt>
6434
6432
  <dd class="tag-source">
6435
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2876">line 2876</a>
6433
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2877">line 2877</a>
6436
6434
  </dd>
6437
6435
 
6438
6436
 
@@ -6702,7 +6700,7 @@ If this fails, we fall back to Newton's method.</p>
6702
6700
 
6703
6701
  <dt class="tag-source">Source</dt>
6704
6702
  <dd class="tag-source">
6705
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3700">line 3700</a>
6703
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3701">line 3701</a>
6706
6704
  </dd>
6707
6705
 
6708
6706
 
@@ -7120,7 +7118,7 @@ or [x_1, f(x_1), x_0, f(x_0)] in case that x_1 &lt; x_0.</p>
7120
7118
 
7121
7119
  <dt class="tag-source">Source</dt>
7122
7120
  <dd class="tag-source">
7123
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3440">line 3440</a>
7121
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3441">line 3441</a>
7124
7122
  </dd>
7125
7123
 
7126
7124
 
@@ -7363,7 +7361,7 @@ computations. M., Mir, 1980, p.180 of the Russian edition</p></p>
7363
7361
 
7364
7362
  <dt class="tag-source">Source</dt>
7365
7363
  <dd class="tag-source">
7366
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3922">line 3922</a>
7364
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3923">line 3923</a>
7367
7365
  </dd>
7368
7366
 
7369
7367
 
@@ -7633,7 +7631,7 @@ If this fails, we fall back to Newton's method.</p>
7633
7631
 
7634
7632
  <dt class="tag-source">Source</dt>
7635
7633
  <dd class="tag-source">
7636
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3526">line 3526</a>
7634
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3527">line 3527</a>
7637
7635
  </dd>
7638
7636
 
7639
7637
 
@@ -8061,7 +8059,7 @@ We want to find values t1, t2 such that
8061
8059
 
8062
8060
  <dt class="tag-source">Source</dt>
8063
8061
  <dd class="tag-source">
8064
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1611">line 1611</a>
8062
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1612">line 1612</a>
8065
8063
  </dd>
8066
8064
 
8067
8065
 
@@ -8297,7 +8295,7 @@ We want to find values t1, t2 such that
8297
8295
 
8298
8296
  <dt class="tag-source">Source</dt>
8299
8297
  <dd class="tag-source">
8300
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2054">line 2054</a>
8298
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2055">line 2055</a>
8301
8299
  </dd>
8302
8300
 
8303
8301
 
@@ -8529,7 +8527,7 @@ var txt2 = board.create('text', [-3, -6, () => f.getCoefficients()], {fontSize:
8529
8527
 
8530
8528
  <dt class="tag-source">Source</dt>
8531
8529
  <dd class="tag-source">
8532
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2140">line 2140</a>
8530
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2141">line 2141</a>
8533
8531
  </dd>
8534
8532
 
8535
8533
 
@@ -8733,7 +8731,7 @@ the supplied points.</p>
8733
8731
 
8734
8732
  <dt class="tag-source">Source</dt>
8735
8733
  <dd class="tag-source">
8736
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2408">line 2408</a>
8734
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2409">line 2409</a>
8737
8735
  </dd>
8738
8736
 
8739
8737
 
@@ -9008,7 +9006,7 @@ the supplied points as string</p>
9008
9006
 
9009
9007
  <dt class="tag-source">Source</dt>
9010
9008
  <dd class="tag-source">
9011
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2322">line 2322</a>
9009
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2323">line 2323</a>
9012
9010
  </dd>
9013
9011
 
9014
9012
 
@@ -9403,7 +9401,7 @@ starting values are determined by the method of Ozawa.</p></td>
9403
9401
 
9404
9402
  <dt class="tag-source">Source</dt>
9405
9403
  <dd class="tag-source">
9406
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4361">line 4361</a>
9404
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line4362">line 4362</a>
9407
9405
  </dd>
9408
9406
 
9409
9407
 
@@ -9627,7 +9625,7 @@ The function returned will throw an exception, if the data set is malformed.</p>
9627
9625
 
9628
9626
  <dt class="tag-source">Source</dt>
9629
9627
  <dd class="tag-source">
9630
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2675">line 2675</a>
9628
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line2676">line 2676</a>
9631
9629
  </dd>
9632
9630
 
9633
9631
 
@@ -9900,7 +9898,7 @@ rectangles.</p>
9900
9898
 
9901
9899
  <dt class="tag-source">Source</dt>
9902
9900
  <dd class="tag-source">
9903
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3131">line 3131</a>
9901
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3132">line 3132</a>
9904
9902
  </dd>
9905
9903
 
9906
9904
 
@@ -10166,7 +10164,7 @@ by the Riemann sum.</p></td>
10166
10164
 
10167
10165
  <dt class="tag-source">Source</dt>
10168
10166
  <dd class="tag-source">
10169
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3271">line 3271</a>
10167
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3272">line 3272</a>
10170
10168
  </dd>
10171
10169
 
10172
10170
 
@@ -10399,7 +10397,7 @@ the function is a method of an object and contains a reference to its parent obj
10399
10397
 
10400
10398
  <dt class="tag-source">Source</dt>
10401
10399
  <dd class="tag-source">
10402
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1567">line 1567</a>
10400
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1568">line 1568</a>
10403
10401
  </dd>
10404
10402
 
10405
10403
 
@@ -10721,7 +10719,7 @@ vector <code>x</code>, and has to return a vector of the same length as <code>x<
10721
10719
 
10722
10720
  <dt class="tag-source">Source</dt>
10723
10721
  <dd class="tag-source">
10724
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3339">line 3339</a>
10722
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line3340">line 3340</a>
10725
10723
  </dd>
10726
10724
 
10727
10725
 
@@ -10916,7 +10914,7 @@ vector <code>x</code>, and has to return a vector of the same length as <code>x<
10916
10914
 
10917
10915
  <dt class="tag-source">Source</dt>
10918
10916
  <dd class="tag-source">
10919
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1913">line 1913</a>
10917
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1914">line 1914</a>
10920
10918
  </dd>
10921
10919
 
10922
10920
 
@@ -11165,7 +11163,7 @@ vector <code>x</code>, and has to return a vector of the same length as <code>x<
11165
11163
 
11166
11164
  <dt class="tag-source">Source</dt>
11167
11165
  <dd class="tag-source">
11168
- <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1988">line 1988</a>
11166
+ <a href="math_numerics.js.html">math/numerics.js</a>, <a href="math_numerics.js.html#line1989">line 1989</a>
11169
11167
  </dd>
11170
11168
 
11171
11169
 
@@ -219,7 +219,7 @@ points than least squares regression in <a href="JXG.Math.Numerics.html#.regress
219
219
  <dd>
220
220
 
221
221
  <p class="summary">Generate values of a standard normal random variable with the Marsaglia polar method, see
222
- <a href="https://en.wikipedia.org/wiki/Marsaglia_polar_method">https://en.wikipedia.org/wiki/Marsaglia_polar_method</a>.</p>
222
+ <a href="https://en.wikipedia.org/wiki/Marsaglia_polar_method">https://en.wikipedia.org/wiki/Marsaglia_polar_method</a>..</p>
223
223
 
224
224
  </dd>
225
225
  --></p>
@@ -553,7 +553,7 @@ shape \(\gamma\) and scale \(k\).</p>
553
553
  </dt>
554
554
  <dd>
555
555
 
556
- <p class="summary">Generate value of a uniform distributed random variable in the interval [a, b].</p>
556
+ <p class="summary">Generate value of a uniform distributed random variable in the interval <code>[a, b]</code>.</p>
557
557
 
558
558
  </dd>
559
559
  --></p>
@@ -665,11 +665,10 @@ are weighted, i.e.</p>
665
665
 
666
666
  <p class="tag-description"><p>The Theil-Sen estimator can be used to determine a more robust linear regression of a set of sample
667
667
  points than least squares regression in <a href="JXG.Math.Numerics.html#.regressionPolynomial">JXG.Math.Numerics.regressionPolynomial</a>.</p>
668
- <p>If the function should be applied to an array a of points, a the coords array can be generated with
669
- JavaScript array.map:</p>
670
- <pre>
671
- JXG.Math.Statistics.TheilSenRegression(a.map(el => el.coords));
672
- </pre></p>
668
+ <p>If the function should be applied to an array <code>a</code> of <em>points</em>, a coords array can be generated with
669
+ JavaScript <code>array.map</code>:</p>
670
+ <pre class="prettyprint source"><code>JXG.Math.Statistics.TheilSenRegression(a.map(el => el.coords));
671
+ </code></pre></p>
673
672
 
674
673
 
675
674
 
@@ -685,10 +684,10 @@ JXG.Math.Statistics.TheilSenRegression(a.map(el => el.coords));
685
684
 
686
685
 
687
686
  <pre class="prettyprint"><code>var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-6,6,6,-6], axis : true });
688
- var a=[];
689
- a[0]=board.create('point', [0,0]);
690
- a[1]=board.create('point', [3,0]);
691
- a[2]=board.create('point', [0,3]);
687
+ var a = [];
688
+ a[0] = board.create('point', [0, 0]);
689
+ a[1] = board.create('point', [3, 0]);
690
+ a[2] = board.create('point', [0, 3]);
692
691
 
693
692
  board.create('line', [
694
693
  () => JXG.Math.Statistics.TheilSenRegression(a.map(el => el.coords))
@@ -1744,7 +1743,7 @@ is taken.</p></p>
1744
1743
 
1745
1744
 
1746
1745
  <p class="tag-description"><p>Generate values of a standard normal random variable with the Marsaglia polar method, see
1747
- <a href="https://en.wikipedia.org/wiki/Marsaglia_polar_method">https://en.wikipedia.org/wiki/Marsaglia_polar_method</a>.
1746
+ <a href="https://en.wikipedia.org/wiki/Marsaglia_polar_method">https://en.wikipedia.org/wiki/Marsaglia_polar_method</a>..
1748
1747
  See also D. E. Knuth, The art of computer programming, vol 2, p. 117.</p></p>
1749
1748
 
1750
1749
 
@@ -4226,7 +4225,7 @@ See <a href="https://en.wikipedia.org/wiki/Chi-squared_distribution">https://en.
4226
4225
 
4227
4226
 
4228
4227
  <p class="tag-description"><p>Generate value of a random variable with exponential distribution, i.e.
4229
- \(f(x; \lambda) = \lambda * e^(-\lambda x)\) if \(x \geq 0\) and \(f(x; \lambda) = 0\) if \(x &lt; 0\).
4228
+ \(f(x; \lambda) = \lambda \cdot e^{-\lambda x}\) if \(x \geq 0\) and \(f(x; \lambda) = 0\) if \(x &lt; 0\).
4230
4229
  See <a href="https://en.wikipedia.org/wiki/Exponential_distribution">https://en.wikipedia.org/wiki/Exponential_distribution</a>.
4231
4230
  Algorithm: D.E. Knuth, TAOCP 2, p. 128.</p></p>
4232
4231
 
@@ -5831,7 +5830,7 @@ See <a href="https://en.wikipedia.org/wiki/Poisson_distribution">https://en.wiki
5831
5830
 
5832
5831
 
5833
5832
  <p class="tag-description"><p>Generate value of a random variable with Students-t-distribution with ν degrees of freedom.
5834
- See <a href="https://en.wikipedia.org/wiki/Student%27s_t-distribution">https://en.wikipedia.org/wiki/Student%27s_t-distribution</a>.</p></p>
5833
+ See <a href="https://en.wikipedia.org/wiki/Student%2527s_t-distribution">https://en.wikipedia.org/wiki/Student%27s_t-distribution</a>.</p></p>
5835
5834
 
5836
5835
 
5837
5836
 
@@ -5982,7 +5981,7 @@ See <a href="https://en.wikipedia.org/wiki/Student%27s_t-distribution">https://e
5982
5981
  <h4 class="name" id=".randomUniform"><span class="type-signature type-signature-static">(static) </span>randomUniform(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"></span></h4>
5983
5982
 
5984
5983
 
5985
- <p class="tag-description"><p>Generate value of a uniform distributed random variable in the interval [a, b].</p></p>
5984
+ <p class="tag-description"><p>Generate value of a uniform distributed random variable in the interval <code>[a, b]</code>.</p></p>
5986
5985
 
5987
5986
 
5988
5987
 
@@ -163,8 +163,8 @@
163
163
 
164
164
 
165
165
  <p class="tag-description"><p>Rectangulate (partition it into rectangles) a given two dimensional domain.
166
- The number of rectangles the original rectangle is divided into depends on the parameters stepsU and stepsV.
167
- Input are the ranges of u and v, as well as stepsU and stepsV which are static.</p></p>
166
+ The number of rectangles the original rectangle is divided into depends on the parameters <code>stepsU</code> and <code>stepsV</code>.
167
+ Input are the ranges of \(u\) and \(v\), as well as <code>stepsU</code> and <code>stepsV</code> which are static.</p></p>
168
168
 
169
169
 
170
170
 
@@ -503,11 +503,7 @@ From this element its function F is used.</p></td>
503
503
 
504
504
 
505
505
  <p class="tag-description"><p>Triangulate (partition it into triangles) a given two dimensional domain.
506
- The number of triangles the original rectangle is divided into depends on the parameters stepsU and stepsV.
507
- Input are the ranges of u and v, as well as stepsU and stepsV which are static.
508
- If the optional parameter stepsV is not given or is equal to 0, the rectangle is partitioned into
509
- nearly equilateral triangles.
510
- Otherwise, the shape of the triangles depends on the ratio of stepsU / stepsV.</p></p>
506
+ The number of triangles the original rectangle is divided into depends on the parameters<code> </code>stepsU<code>and</code>stepsV<code>. Input are the ranges of \\(u\\) and \\(v\\), as well as </code>stepsU<code>and</code>stepsV<code>which are static. If the optional parameter</code>stepsV<code>is not given or is equal to 0, the rectangle is partitioned into nearly equilateral triangles. Otherwise, the shape of the triangles depends on the ratio of</code>stepsU / stepsV`.</p></p>
511
507
 
512
508
 
513
509