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.
- package/CHANGELOG.md +33 -3
- package/distrib/docs/3d_linspace3d.js.html +16 -10
- package/distrib/docs/3d_point3d.js.html +0 -5
- package/distrib/docs/3d_sphere3d.js.html +92 -69
- package/distrib/docs/3d_view3d.js.html +24 -16
- package/distrib/docs/Angle.html +7 -7
- package/distrib/docs/CircumcircleSector.html +2 -2
- package/distrib/docs/Conic.html +1 -1
- package/distrib/docs/Ellipse.html +23 -1
- package/distrib/docs/Hyperbola.html +24 -1
- package/distrib/docs/JXG.Board.infobox.html +1 -1
- package/distrib/docs/JXG.Board_.html +130 -130
- package/distrib/docs/JXG.CanvasRenderer.html +10 -10
- package/distrib/docs/JXG.Composition.html +3 -3
- package/distrib/docs/JXG.GeometryElement.html +26 -26
- package/distrib/docs/JXG.Math.Numerics.html +45 -47
- package/distrib/docs/JXG.Math.Statistics.html +14 -15
- package/distrib/docs/JXG.Math.Tiling.html +3 -7
- package/distrib/docs/JXG.Math.html +101 -83
- package/distrib/docs/JXG.Point3D.html +2 -2
- package/distrib/docs/JXG.SVGRenderer.html +12 -12
- package/distrib/docs/JXG.Sphere3D.html +1255 -2
- package/distrib/docs/JXG.View3D.html +29 -29
- package/distrib/docs/JXG.html +20 -20
- package/distrib/docs/MajorSector.html +1 -1
- package/distrib/docs/MinorSector.html +1 -1
- package/distrib/docs/NonReflexAngle.html +1 -1
- package/distrib/docs/Parabola.html +1 -1
- package/distrib/docs/Point3D.html +1 -1
- package/distrib/docs/ReflexAngle.html +1 -1
- package/distrib/docs/Sector.html +12 -12
- package/distrib/docs/Sphere3D.html +17 -1
- package/distrib/docs/View3D.html +1 -1
- package/distrib/docs/base_board.js.html +63 -13
- package/distrib/docs/base_composition.js.html +3 -3
- package/distrib/docs/base_constants.js.html +1 -1
- package/distrib/docs/base_element.js.html +2 -1
- package/distrib/docs/base_text.js.html +2 -2
- package/distrib/docs/element_conic.js.html +35 -1
- package/distrib/docs/element_sector.js.html +6 -3
- package/distrib/docs/index.html +1 -1
- package/distrib/docs/math_math.js.html +64 -35
- package/distrib/docs/math_numerics.js.html +13 -12
- package/distrib/docs/math_statistics.js.html +19 -19
- package/distrib/docs/math_tiling.js.html +6 -288
- package/distrib/docs/parser_jessiecode.js.html +1 -1
- package/distrib/docs/renderer_canvas.js.html +7 -6
- package/distrib/docs/renderer_svg.js.html +15 -7
- package/distrib/docs/scripts/jsxgraphcore.js +2 -2
- package/distrib/docs/styles/jsxgraph.css +1 -1
- package/distrib/docs/utils_type.js.html +11 -4
- package/distrib/geogebra.min.js +1 -1
- package/distrib/geonext.min.js +1 -1
- package/distrib/index.d.ts +11 -0
- package/distrib/intergeo.min.js +1 -1
- package/distrib/jsxgraph.css +1 -1
- package/distrib/jsxgraphcore.js +2 -2
- package/distrib/jsxgraphcore.mjs +2 -2
- package/distrib/jsxgraphcore.mjs.map +1 -1
- package/distrib/jsxgraphsrc.js +380 -496
- package/distrib/jsxgraphsrc.mjs +380 -496
- package/distrib/jsxgraphsrc.mjs.map +1 -1
- package/package.json +10 -12
- package/src/3d/linspace3d.js +16 -10
- package/src/3d/point3d.js +0 -5
- package/src/3d/sphere3d.js +92 -69
- package/src/3d/view3d.js +24 -16
- package/src/base/board.js +63 -13
- package/src/base/composition.js +3 -3
- package/src/base/constants.js +1 -1
- package/src/base/element.js +2 -1
- package/src/base/text.js +2 -2
- package/src/element/conic.js +35 -1
- package/src/element/sector.js +6 -3
- package/src/index.d.ts +11 -0
- package/src/math/math.js +64 -35
- package/src/math/numerics.js +13 -12
- package/src/math/statistics.js +19 -19
- package/src/math/tiling.js +6 -288
- package/src/parser/jessiecode.js +1 -1
- package/src/renderer/canvas.js +7 -6
- package/src/renderer/svg.js +15 -7
- package/src/utils/type.js +11 -4
- package/src/unused/bst.js +0 -475
- package/src/unused/heap.js +0 -135
- package/src/unused/locus.js +0 -162
- package/src/unused/server/JXG.py +0 -74
- package/src/unused/server/JXGServer.py +0 -94
- package/src/unused/server/JXGServerModule.py +0 -9
- package/src/unused/server/README.md +0 -63
- package/src/unused/server/RStats.py +0 -45
- package/src/unused/server/YahooFinance.py +0 -81
- package/src/unused/server/fft.py +0 -136
- package/src/unused/server/geoloci.py +0 -210
- package/src/unused/server/jxggroebner.py +0 -219
- package/src/unused/server/jxgtestplugin.py +0 -19
- package/src/unused/server/server.js +0 -280
- package/src/unused/sketch.js +0 -2895
- package/src/unused/symbolic.js +0 -416
|
@@ -323,9 +323,11 @@ than eps, it is considered to be equal to zero.</p></dd>
|
|
|
323
323
|
</dt>
|
|
324
324
|
<dd>
|
|
325
325
|
|
|
326
|
-
<p class="summary">Theorem of Vieta: Given a set of simple zeroes x_0,
|
|
327
|
-
of a polynomial f, compute the coefficients s_k, (k=0
|
|
328
|
-
of the polynomial of the form
|
|
326
|
+
<p class="summary">Theorem of Vieta: Given a set of simple zeroes \(x_0, \ldots, x_n\)
|
|
327
|
+
of a polynomial \(f\), compute the coefficients \(s_k\), \(k=0, \ldots, n-1\),
|
|
328
|
+
of the polynomial of the form
|
|
329
|
+
\[ f(x) = (x-x_0)\cdots(x-x_n) = x^n + \sum_{k=1}^{n} (-1)^k s_{k-1} x^{n-k} \]</p>
|
|
330
|
+
<p>See <a href="https://en.wikipedia.org/wiki/Vieta%2527s_formulas">https://en.wikipedia.org/wiki/Vieta%27s_formulas</a></p>.</p>
|
|
329
331
|
|
|
330
332
|
</dd>
|
|
331
333
|
--></p>
|
|
@@ -340,7 +342,7 @@ of the polynomial of the form.</p>
|
|
|
340
342
|
</dt>
|
|
341
343
|
<dd>
|
|
342
344
|
|
|
343
|
-
<p class="summary">
|
|
345
|
+
<p class="summary">Inverse hyperbolic cosine of a number.</p>
|
|
344
346
|
|
|
345
347
|
</dd>
|
|
346
348
|
--></p>
|
|
@@ -370,7 +372,7 @@ of the polynomial of the form.</p>
|
|
|
370
372
|
</dt>
|
|
371
373
|
<dd>
|
|
372
374
|
|
|
373
|
-
<p class="summary">Logical operator: a && b
|
|
375
|
+
<p class="summary">Logical operator: <code>a && b</code>?</p>.</p>
|
|
374
376
|
|
|
375
377
|
</dd>
|
|
376
378
|
--></p>
|
|
@@ -385,7 +387,7 @@ of the polynomial of the form.</p>
|
|
|
385
387
|
</dt>
|
|
386
388
|
<dd>
|
|
387
389
|
|
|
388
|
-
<p class="summary">
|
|
390
|
+
<p class="summary">Inverse hyperbolic sine of a number</p>.</p>
|
|
389
391
|
|
|
390
392
|
</dd>
|
|
391
393
|
--></p>
|
|
@@ -430,8 +432,7 @@ of the polynomial of the form.</p>
|
|
|
430
432
|
</dt>
|
|
431
433
|
<dd>
|
|
432
434
|
|
|
433
|
-
<p class="summary">Computes cube root of real number
|
|
434
|
-
Polyfill for Math.cbrt().</p>
|
|
435
|
+
<p class="summary">Computes cube root of real number.</p>
|
|
435
436
|
|
|
436
437
|
</dd>
|
|
437
438
|
--></p>
|
|
@@ -461,7 +462,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
461
462
|
</dt>
|
|
462
463
|
<dd>
|
|
463
464
|
|
|
464
|
-
<p class="summary">Calculates the cosine
|
|
465
|
+
<p class="summary">Calculates the hyperbolic cosine of \(x\).</p>
|
|
465
466
|
|
|
466
467
|
</dd>
|
|
467
468
|
--></p>
|
|
@@ -521,7 +522,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
521
522
|
</dt>
|
|
522
523
|
<dd>
|
|
523
524
|
|
|
524
|
-
<p class="summary">Logical test: a === b
|
|
525
|
+
<p class="summary">Logical test: <code>a === b</code>?</p>.</p>
|
|
525
526
|
|
|
526
527
|
</dd>
|
|
527
528
|
--></p>
|
|
@@ -626,7 +627,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
626
627
|
</dt>
|
|
627
628
|
<dd>
|
|
628
629
|
|
|
629
|
-
<p class="summary">Greatest common divisor (gcd) of two numbers.</p>
|
|
630
|
+
<p class="summary">Greatest common divisor (gcd) of two finite, non-zero integer numbers.</p>
|
|
630
631
|
|
|
631
632
|
</dd>
|
|
632
633
|
--></p>
|
|
@@ -641,7 +642,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
641
642
|
</dt>
|
|
642
643
|
<dd>
|
|
643
644
|
|
|
644
|
-
<p class="summary">Logical test: a >= b
|
|
645
|
+
<p class="summary">Logical test: <code>a >= b</code>?</p>.</p>
|
|
645
646
|
|
|
646
647
|
</dd>
|
|
647
648
|
--></p>
|
|
@@ -656,7 +657,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
656
657
|
</dt>
|
|
657
658
|
<dd>
|
|
658
659
|
|
|
659
|
-
<p class="summary">Logical test: a > b
|
|
660
|
+
<p class="summary">Logical test: <code>a > b</code>?</p>.</p>
|
|
660
661
|
|
|
661
662
|
</dd>
|
|
662
663
|
--></p>
|
|
@@ -746,7 +747,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
746
747
|
</dt>
|
|
747
748
|
<dd>
|
|
748
749
|
|
|
749
|
-
<p class="summary">Least common multiple (lcm) of two numbers.</p>
|
|
750
|
+
<p class="summary">Least common multiple (lcm) of two finite integer numbers.</p>
|
|
750
751
|
|
|
751
752
|
</dd>
|
|
752
753
|
--></p>
|
|
@@ -761,7 +762,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
761
762
|
</dt>
|
|
762
763
|
<dd>
|
|
763
764
|
|
|
764
|
-
<p class="summary">Logical test: a <= b
|
|
765
|
+
<p class="summary">Logical test: <code>a <= b</code>?</p>.</p>
|
|
765
766
|
|
|
766
767
|
</dd>
|
|
767
768
|
--></p>
|
|
@@ -821,7 +822,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
821
822
|
</dt>
|
|
822
823
|
<dd>
|
|
823
824
|
|
|
824
|
-
<p class="summary">Logical test: a < b
|
|
825
|
+
<p class="summary">Logical test: <code>a < b</code>?</p>.</p>
|
|
825
826
|
|
|
826
827
|
</dd>
|
|
827
828
|
--></p>
|
|
@@ -956,7 +957,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
956
957
|
</dt>
|
|
957
958
|
<dd>
|
|
958
959
|
|
|
959
|
-
<p class="summary">Logical test: a !== b
|
|
960
|
+
<p class="summary">Logical test: <code>a !== b</code>?</p>.</p>
|
|
960
961
|
|
|
961
962
|
</dd>
|
|
962
963
|
--></p>
|
|
@@ -986,7 +987,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
986
987
|
</dt>
|
|
987
988
|
<dd>
|
|
988
989
|
|
|
989
|
-
<p class="summary">Normalize the standard form [c, b0, b1, a, k, r, q0, q1]
|
|
990
|
+
<p class="summary">Normalize the standard form <code>[c, b0, b1, a, k, r, q0, q1]</code>.</p>
|
|
990
991
|
|
|
991
992
|
</dd>
|
|
992
993
|
--></p>
|
|
@@ -1001,7 +1002,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
1001
1002
|
</dt>
|
|
1002
1003
|
<dd>
|
|
1003
1004
|
|
|
1004
|
-
<p class="summary">Logical operator:
|
|
1005
|
+
<p class="summary">Logical operator: <code>!a</code>?</p>.</p>
|
|
1005
1006
|
|
|
1006
1007
|
</dd>
|
|
1007
1008
|
--></p>
|
|
@@ -1031,7 +1032,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
1031
1032
|
</dt>
|
|
1032
1033
|
<dd>
|
|
1033
1034
|
|
|
1034
|
-
<p class="summary">Logical operator: a || b
|
|
1035
|
+
<p class="summary">Logical operator: <code>a || b</code>?</p>.</p>
|
|
1035
1036
|
|
|
1036
1037
|
</dd>
|
|
1037
1038
|
--></p>
|
|
@@ -1136,7 +1137,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
1136
1137
|
</dt>
|
|
1137
1138
|
<dd>
|
|
1138
1139
|
|
|
1139
|
-
<p class="summary">
|
|
1140
|
+
<p class="summary">Hyperbolic sine of \(x\).</p>
|
|
1140
1141
|
|
|
1141
1142
|
</dd>
|
|
1142
1143
|
--></p>
|
|
@@ -1151,7 +1152,7 @@ Polyfill for Math.cbrt().</p>
|
|
|
1151
1152
|
</dt>
|
|
1152
1153
|
<dd>
|
|
1153
1154
|
|
|
1154
|
-
<p class="summary">A square & multiply algorithm to compute base to the power of exponent
|
|
1155
|
+
<p class="summary">A square & multiply algorithm to compute <code>base</code> to the power of <code>exponent</code>.</p>
|
|
1155
1156
|
|
|
1156
1157
|
</dd>
|
|
1157
1158
|
--></p>
|
|
@@ -1272,7 +1273,7 @@ a multiple of <code>b - a</code>.</p>
|
|
|
1272
1273
|
</dt>
|
|
1273
1274
|
<dd>
|
|
1274
1275
|
|
|
1275
|
-
<p class="summary">Logical operator: either a or b
|
|
1276
|
+
<p class="summary">Logical operator: either <code>a</code> or <code>b</code>?</p>.</p>
|
|
1276
1277
|
|
|
1277
1278
|
</dd>
|
|
1278
1279
|
--></p>
|
|
@@ -1290,12 +1291,11 @@ a multiple of <code>b - a</code>.</p>
|
|
|
1290
1291
|
<h4 class="name" id=".Vieta"><span class="type-signature type-signature-static">(static) </span>Vieta(<span class="signature-param">x</span>)<span class="type-signature"> → {Array}</span></h4>
|
|
1291
1292
|
|
|
1292
1293
|
|
|
1293
|
-
<p class="tag-description"><p>Theorem of Vieta: Given a set of simple zeroes x_0,
|
|
1294
|
-
of a polynomial f, compute the coefficients s_k, (k=0
|
|
1295
|
-
of the polynomial of the form
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
</p></p>
|
|
1294
|
+
<p class="tag-description"><p>Theorem of Vieta: Given a set of simple zeroes \(x_0, \ldots, x_n\)
|
|
1295
|
+
of a polynomial \(f\), compute the coefficients \(s_k\), \(k=0, \ldots, n-1\),
|
|
1296
|
+
of the polynomial of the form
|
|
1297
|
+
\[ f(x) = (x-x_0)\cdots(x-x_n) = x^n + \sum_{k=1}^{n} (-1)^k s_{k-1} x^{n-k} \]</p>
|
|
1298
|
+
<p>See <a href="https://en.wikipedia.org/wiki/Vieta%2527s_formulas">https://en.wikipedia.org/wiki/Vieta%27s_formulas</a></p></p>
|
|
1299
1299
|
|
|
1300
1300
|
|
|
1301
1301
|
|
|
@@ -1438,7 +1438,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
1438
1438
|
|
|
1439
1439
|
<dt class="tag-source">Source</dt>
|
|
1440
1440
|
<dd class="tag-source">
|
|
1441
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
1441
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1474">line 1474</a>
|
|
1442
1442
|
</dd>
|
|
1443
1443
|
|
|
1444
1444
|
|
|
@@ -1459,7 +1459,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
1459
1459
|
<h4 class="name" id=".acosh"><span class="type-signature type-signature-static">(static) </span>acosh(<span class="signature-param">x</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
1460
1460
|
|
|
1461
1461
|
|
|
1462
|
-
<p class="tag-description"><p>
|
|
1462
|
+
<p class="tag-description"><p>Inverse hyperbolic cosine of a number.</p></p>
|
|
1463
1463
|
|
|
1464
1464
|
|
|
1465
1465
|
|
|
@@ -1783,7 +1783,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
1783
1783
|
<h4 class="name" id=".and"><span class="type-signature type-signature-static">(static) </span>and(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
1784
1784
|
|
|
1785
1785
|
|
|
1786
|
-
<p class="tag-description"><p>Logical operator: a && b
|
|
1786
|
+
<p class="tag-description"><p>Logical operator: <code>a && b</code>?</p></p>
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
1789
|
|
|
@@ -1946,7 +1946,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
1946
1946
|
|
|
1947
1947
|
<dt class="tag-source">Source</dt>
|
|
1948
1948
|
<dd class="tag-source">
|
|
1949
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
1949
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1287">line 1287</a>
|
|
1950
1950
|
</dd>
|
|
1951
1951
|
|
|
1952
1952
|
|
|
@@ -1967,7 +1967,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
1967
1967
|
<h4 class="name" id=".asinh"><span class="type-signature type-signature-static">(static) </span>asinh(<span class="signature-param">x</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
1968
1968
|
|
|
1969
1969
|
|
|
1970
|
-
<p class="tag-description"><p>
|
|
1970
|
+
<p class="tag-description"><p>Inverse hyperbolic sine of a number</p></p>
|
|
1971
1971
|
|
|
1972
1972
|
|
|
1973
1973
|
|
|
@@ -2523,7 +2523,7 @@ x^n + sum_{k=1}^{n} (-1)^(k) s_{k-1} x^(n-k)</p>
|
|
|
2523
2523
|
<h4 class="name" id=".cbrt"><span class="type-signature type-signature-static">(static) </span>cbrt(<span class="signature-param">x</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
2524
2524
|
|
|
2525
2525
|
|
|
2526
|
-
<p class="tag-description"><p>Computes cube root of real number
|
|
2526
|
+
<p class="tag-description"><p>Computes cube root of real number.
|
|
2527
2527
|
Polyfill for Math.cbrt().</p></p>
|
|
2528
2528
|
|
|
2529
2529
|
|
|
@@ -2781,7 +2781,7 @@ it's above <code>b</code>, decrease it to <code>b</code>.</p></p>
|
|
|
2781
2781
|
<h4 class="name" id=".cosh"><span class="type-signature type-signature-static">(static) </span>cosh(<span class="signature-param">x</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
2782
2782
|
|
|
2783
2783
|
|
|
2784
|
-
<p class="tag-description"><p>Calculates the cosine
|
|
2784
|
+
<p class="tag-description"><p>Calculates the hyperbolic cosine of \(x\).</p></p>
|
|
2785
2785
|
|
|
2786
2786
|
|
|
2787
2787
|
|
|
@@ -2863,7 +2863,7 @@ it's above <code>b</code>, decrease it to <code>b</code>.</p></p>
|
|
|
2863
2863
|
|
|
2864
2864
|
|
|
2865
2865
|
<div class="param-desc">
|
|
2866
|
-
<p>
|
|
2866
|
+
<p>Hyperbolic cosine of the given value.</p>
|
|
2867
2867
|
</div>
|
|
2868
2868
|
|
|
2869
2869
|
|
|
@@ -3528,7 +3528,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
3528
3528
|
|
|
3529
3529
|
<dt class="tag-source">Source</dt>
|
|
3530
3530
|
<dd class="tag-source">
|
|
3531
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
3531
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1348">line 1348</a>
|
|
3532
3532
|
</dd>
|
|
3533
3533
|
|
|
3534
3534
|
|
|
@@ -3549,7 +3549,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
3549
3549
|
<h4 class="name" id=".eq"><span class="type-signature type-signature-static">(static) </span>eq(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
3550
3550
|
|
|
3551
3551
|
|
|
3552
|
-
<p class="tag-description"><p>Logical test: a === b
|
|
3552
|
+
<p class="tag-description"><p>Logical test: <code>a === b</code>?</p></p>
|
|
3553
3553
|
|
|
3554
3554
|
|
|
3555
3555
|
|
|
@@ -3712,7 +3712,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
3712
3712
|
|
|
3713
3713
|
<dt class="tag-source">Source</dt>
|
|
3714
3714
|
<dd class="tag-source">
|
|
3715
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
3715
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1265">line 1265</a>
|
|
3716
3716
|
</dd>
|
|
3717
3717
|
|
|
3718
3718
|
|
|
@@ -3879,7 +3879,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
3879
3879
|
|
|
3880
3880
|
<dt class="tag-source">Source</dt>
|
|
3881
3881
|
<dd class="tag-source">
|
|
3882
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
3882
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1093">line 1093</a>
|
|
3883
3883
|
</dd>
|
|
3884
3884
|
|
|
3885
3885
|
|
|
@@ -4048,7 +4048,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
4048
4048
|
|
|
4049
4049
|
<dt class="tag-source">Source</dt>
|
|
4050
4050
|
<dd class="tag-source">
|
|
4051
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
4051
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1105">line 1105</a>
|
|
4052
4052
|
</dd>
|
|
4053
4053
|
|
|
4054
4054
|
|
|
@@ -4217,7 +4217,7 @@ JXG.Math.decToFraction(-10.66666666666667);
|
|
|
4217
4217
|
|
|
4218
4218
|
<dt class="tag-source">Source</dt>
|
|
4219
4219
|
<dd class="tag-source">
|
|
4220
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
4220
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1117">line 1117</a>
|
|
4221
4221
|
</dd>
|
|
4222
4222
|
|
|
4223
4223
|
|
|
@@ -4818,7 +4818,7 @@ Implementation straight from <a href="https://en.wikipedia.org/wiki/Lanczos_appr
|
|
|
4818
4818
|
|
|
4819
4819
|
<dt class="tag-source">Source</dt>
|
|
4820
4820
|
<dd class="tag-source">
|
|
4821
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
4821
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1181">line 1181</a>
|
|
4822
4822
|
</dd>
|
|
4823
4823
|
|
|
4824
4824
|
|
|
@@ -4839,8 +4839,8 @@ Implementation straight from <a href="https://en.wikipedia.org/wiki/Lanczos_appr
|
|
|
4839
4839
|
<h4 class="name" id=".gcd"><span class="type-signature type-signature-static">(static) </span>gcd(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
4840
4840
|
|
|
4841
4841
|
|
|
4842
|
-
<p class="tag-description"><p>Greatest common divisor (gcd) of two numbers.
|
|
4843
|
-
See href="https
|
|
4842
|
+
<p class="tag-description"><p>Greatest common divisor (gcd) of two finite, non-zero integer numbers.
|
|
4843
|
+
See <a href="https://rosettacode.org/wiki/Greatest_common_divisor#JavaScript">rosettacode.org</a>.</p></p>
|
|
4844
4844
|
|
|
4845
4845
|
|
|
4846
4846
|
|
|
@@ -4896,7 +4896,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
4896
4896
|
|
|
4897
4897
|
|
|
4898
4898
|
|
|
4899
|
-
<td class="description"><p>First number</p></td>
|
|
4899
|
+
<td class="description"><p>First number, not zero, Infinity, or NaN</p></td>
|
|
4900
4900
|
</tr>
|
|
4901
4901
|
|
|
4902
4902
|
|
|
@@ -4920,7 +4920,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
4920
4920
|
|
|
4921
4921
|
|
|
4922
4922
|
|
|
4923
|
-
<td class="description"><p>Second number</p></td>
|
|
4923
|
+
<td class="description"><p>Second number, not zero, Infinity, or NaN</p></td>
|
|
4924
4924
|
</tr>
|
|
4925
4925
|
|
|
4926
4926
|
|
|
@@ -4946,7 +4946,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
4946
4946
|
|
|
4947
4947
|
|
|
4948
4948
|
<div class="param-desc">
|
|
4949
|
-
<p>gcd(a, b) if a and b are numbers, NaN else.</p>
|
|
4949
|
+
<p>gcd(a, b) if a and b are finite, non-zero numbers, NaN else.</p>
|
|
4950
4950
|
</div>
|
|
4951
4951
|
|
|
4952
4952
|
|
|
@@ -5002,12 +5002,19 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5002
5002
|
|
|
5003
5003
|
|
|
5004
5004
|
|
|
5005
|
+
|
|
5006
|
+
<dt class="tag-see">See</dt>
|
|
5007
|
+
<dd class="tag-see">
|
|
5008
|
+
<ul>
|
|
5009
|
+
<li>JXG.Math#lcm</li>
|
|
5010
|
+
</ul>
|
|
5011
|
+
</dd>
|
|
5005
5012
|
|
|
5006
5013
|
|
|
5007
5014
|
|
|
5008
5015
|
<dt class="tag-source">Source</dt>
|
|
5009
5016
|
<dd class="tag-source">
|
|
5010
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
5017
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line965">line 965</a>
|
|
5011
5018
|
</dd>
|
|
5012
5019
|
|
|
5013
5020
|
|
|
@@ -5028,7 +5035,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5028
5035
|
<h4 class="name" id=".geq"><span class="type-signature type-signature-static">(static) </span>geq(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
5029
5036
|
|
|
5030
5037
|
|
|
5031
|
-
<p class="tag-description"><p>Logical test: a >= b
|
|
5038
|
+
<p class="tag-description"><p>Logical test: <code>a >= b</code>?</p></p>
|
|
5032
5039
|
|
|
5033
5040
|
|
|
5034
5041
|
|
|
@@ -5191,7 +5198,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5191
5198
|
|
|
5192
5199
|
<dt class="tag-source">Source</dt>
|
|
5193
5200
|
<dd class="tag-source">
|
|
5194
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
5201
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1254">line 1254</a>
|
|
5195
5202
|
</dd>
|
|
5196
5203
|
|
|
5197
5204
|
|
|
@@ -5212,7 +5219,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5212
5219
|
<h4 class="name" id=".gt"><span class="type-signature type-signature-static">(static) </span>gt(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
5213
5220
|
|
|
5214
5221
|
|
|
5215
|
-
<p class="tag-description"><p>Logical test: a > b
|
|
5222
|
+
<p class="tag-description"><p>Logical test: <code>a > b</code>?</p></p>
|
|
5216
5223
|
|
|
5217
5224
|
|
|
5218
5225
|
|
|
@@ -5375,7 +5382,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5375
5382
|
|
|
5376
5383
|
<dt class="tag-source">Source</dt>
|
|
5377
5384
|
<dd class="tag-source">
|
|
5378
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
5385
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1243">line 1243</a>
|
|
5379
5386
|
</dd>
|
|
5380
5387
|
|
|
5381
5388
|
|
|
@@ -5526,7 +5533,7 @@ See href="https:\\/\\/rosettacode.org/wiki/Greatest_common_divisor#JavaScript">r
|
|
|
5526
5533
|
|
|
5527
5534
|
<dt class="tag-source">Source</dt>
|
|
5528
5535
|
<dd class="tag-source">
|
|
5529
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
5536
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1169">line 1169</a>
|
|
5530
5537
|
</dd>
|
|
5531
5538
|
|
|
5532
5539
|
|
|
@@ -5679,7 +5686,7 @@ The latter is numerically more stable.</p></p>
|
|
|
5679
5686
|
|
|
5680
5687
|
<dt class="tag-source">Source</dt>
|
|
5681
5688
|
<dd class="tag-source">
|
|
5682
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
5689
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1152">line 1152</a>
|
|
5683
5690
|
</dd>
|
|
5684
5691
|
|
|
5685
5692
|
|
|
@@ -6326,7 +6333,8 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
6326
6333
|
<h4 class="name" id=".lcm"><span class="type-signature type-signature-static">(static) </span>lcm(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
6327
6334
|
|
|
6328
6335
|
|
|
6329
|
-
<p class="tag-description"><p>Least common multiple (lcm) of two numbers
|
|
6336
|
+
<p class="tag-description"><p>Least common multiple (lcm) of two finite integer numbers.
|
|
6337
|
+
lcm(0, a) is defined as 0.</p></p>
|
|
6330
6338
|
|
|
6331
6339
|
|
|
6332
6340
|
|
|
@@ -6432,7 +6440,7 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
6432
6440
|
|
|
6433
6441
|
|
|
6434
6442
|
<div class="param-desc">
|
|
6435
|
-
<p>lcm(a, b) if a and b are numbers, NaN else.</p>
|
|
6443
|
+
<p>lcm(a, b) if a and b are finite integer numbers, NaN else.</p>
|
|
6436
6444
|
</div>
|
|
6437
6445
|
|
|
6438
6446
|
|
|
@@ -6488,12 +6496,19 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
6488
6496
|
|
|
6489
6497
|
|
|
6490
6498
|
|
|
6499
|
+
|
|
6500
|
+
<dt class="tag-see">See</dt>
|
|
6501
|
+
<dd class="tag-see">
|
|
6502
|
+
<ul>
|
|
6503
|
+
<li>JXG.Math#gcd</li>
|
|
6504
|
+
</ul>
|
|
6505
|
+
</dd>
|
|
6491
6506
|
|
|
6492
6507
|
|
|
6493
6508
|
|
|
6494
6509
|
<dt class="tag-source">Source</dt>
|
|
6495
6510
|
<dd class="tag-source">
|
|
6496
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
6511
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1014">line 1014</a>
|
|
6497
6512
|
</dd>
|
|
6498
6513
|
|
|
6499
6514
|
|
|
@@ -6514,7 +6529,7 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
6514
6529
|
<h4 class="name" id=".leq"><span class="type-signature type-signature-static">(static) </span>leq(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
6515
6530
|
|
|
6516
6531
|
|
|
6517
|
-
<p class="tag-description"><p>Logical test: a <= b
|
|
6532
|
+
<p class="tag-description"><p>Logical test: <code>a <= b</code>?</p></p>
|
|
6518
6533
|
|
|
6519
6534
|
|
|
6520
6535
|
|
|
@@ -6677,7 +6692,7 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
6677
6692
|
|
|
6678
6693
|
<dt class="tag-source">Source</dt>
|
|
6679
6694
|
<dd class="tag-source">
|
|
6680
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
6695
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1232">line 1232</a>
|
|
6681
6696
|
</dd>
|
|
6682
6697
|
|
|
6683
6698
|
|
|
@@ -7214,7 +7229,7 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
7214
7229
|
<h4 class="name" id=".lt"><span class="type-signature type-signature-static">(static) </span>lt(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
7215
7230
|
|
|
7216
7231
|
|
|
7217
|
-
<p class="tag-description"><p>Logical test: a < b
|
|
7232
|
+
<p class="tag-description"><p>Logical test: <code>a < b</code>?</p></p>
|
|
7218
7233
|
|
|
7219
7234
|
|
|
7220
7235
|
|
|
@@ -7377,7 +7392,7 @@ or a <code>n</code> times <code>m</code>-matrix with a_(i,j) = 0 and a_(i,i) = 1
|
|
|
7377
7392
|
|
|
7378
7393
|
<dt class="tag-source">Source</dt>
|
|
7379
7394
|
<dd class="tag-source">
|
|
7380
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
7395
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1221">line 1221</a>
|
|
7381
7396
|
</dd>
|
|
7382
7397
|
|
|
7383
7398
|
|
|
@@ -8763,7 +8778,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
8763
8778
|
|
|
8764
8779
|
<dt class="tag-source">Source</dt>
|
|
8765
8780
|
<dd class="tag-source">
|
|
8766
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
8781
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1128">line 1128</a>
|
|
8767
8782
|
</dd>
|
|
8768
8783
|
|
|
8769
8784
|
|
|
@@ -8932,7 +8947,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
8932
8947
|
|
|
8933
8948
|
<dt class="tag-source">Source</dt>
|
|
8934
8949
|
<dd class="tag-source">
|
|
8935
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
8950
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1140">line 1140</a>
|
|
8936
8951
|
</dd>
|
|
8937
8952
|
|
|
8938
8953
|
|
|
@@ -8953,7 +8968,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
8953
8968
|
<h4 class="name" id=".neq"><span class="type-signature type-signature-static">(static) </span>neq(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
8954
8969
|
|
|
8955
8970
|
|
|
8956
|
-
<p class="tag-description"><p>Logical test: a !== b
|
|
8971
|
+
<p class="tag-description"><p>Logical test: <code>a !== b</code>?</p></p>
|
|
8957
8972
|
|
|
8958
8973
|
|
|
8959
8974
|
|
|
@@ -9116,7 +9131,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
9116
9131
|
|
|
9117
9132
|
<dt class="tag-source">Source</dt>
|
|
9118
9133
|
<dd class="tag-source">
|
|
9119
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
9134
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1276">line 1276</a>
|
|
9120
9135
|
</dd>
|
|
9121
9136
|
|
|
9122
9137
|
|
|
@@ -9325,7 +9340,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
9325
9340
|
<h4 class="name" id=".normalize"><span class="type-signature type-signature-private, static">(private, static) </span>normalize(<span class="signature-param">stdform</span>)<span class="type-signature"> → {Array}</span></h4>
|
|
9326
9341
|
|
|
9327
9342
|
|
|
9328
|
-
<p class="tag-description"><p>Normalize the standard form [c, b0, b1, a, k, r, q0, q1]
|
|
9343
|
+
<p class="tag-description"><p>Normalize the standard form <code>[c, b0, b1, a, k, r, q0, q1]</code>.</p></p>
|
|
9329
9344
|
|
|
9330
9345
|
|
|
9331
9346
|
|
|
@@ -9468,7 +9483,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
9468
9483
|
|
|
9469
9484
|
<dt class="tag-source">Source</dt>
|
|
9470
9485
|
<dd class="tag-source">
|
|
9471
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
9486
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1397">line 1397</a>
|
|
9472
9487
|
</dd>
|
|
9473
9488
|
|
|
9474
9489
|
|
|
@@ -9489,7 +9504,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
9489
9504
|
<h4 class="name" id=".not"><span class="type-signature type-signature-static">(static) </span>not(<span class="signature-param">a</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
9490
9505
|
|
|
9491
9506
|
|
|
9492
|
-
<p class="tag-description"><p>Logical operator:
|
|
9507
|
+
<p class="tag-description"><p>Logical operator: <code>!a</code>?</p></p>
|
|
9493
9508
|
|
|
9494
9509
|
|
|
9495
9510
|
|
|
@@ -9628,7 +9643,7 @@ mod and "%" are both identical if a >= 0 and m >= 0 but the resu
|
|
|
9628
9643
|
|
|
9629
9644
|
<dt class="tag-source">Source</dt>
|
|
9630
9645
|
<dd class="tag-source">
|
|
9631
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
9646
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1297">line 1297</a>
|
|
9632
9647
|
</dd>
|
|
9633
9648
|
|
|
9634
9649
|
|
|
@@ -9849,7 +9864,7 @@ nthroot(-4, 2): NaN</code></pre>
|
|
|
9849
9864
|
<h4 class="name" id=".or"><span class="type-signature type-signature-static">(static) </span>or(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
9850
9865
|
|
|
9851
9866
|
|
|
9852
|
-
<p class="tag-description"><p>Logical operator: a || b
|
|
9867
|
+
<p class="tag-description"><p>Logical operator: <code>a || b</code>?</p></p>
|
|
9853
9868
|
|
|
9854
9869
|
|
|
9855
9870
|
|
|
@@ -10012,7 +10027,7 @@ nthroot(-4, 2): NaN</code></pre>
|
|
|
10012
10027
|
|
|
10013
10028
|
<dt class="tag-source">Source</dt>
|
|
10014
10029
|
<dd class="tag-source">
|
|
10015
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
10030
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1308">line 1308</a>
|
|
10016
10031
|
</dd>
|
|
10017
10032
|
|
|
10018
10033
|
|
|
@@ -11114,7 +11129,7 @@ JXG.Math.pow(base, m/n).</p>
|
|
|
11114
11129
|
|
|
11115
11130
|
<dt class="tag-source">Source</dt>
|
|
11116
11131
|
<dd class="tag-source">
|
|
11117
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
11132
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1048">line 1048</a>
|
|
11118
11133
|
</dd>
|
|
11119
11134
|
|
|
11120
11135
|
|
|
@@ -11301,7 +11316,7 @@ and NaN respectively.</p>
|
|
|
11301
11316
|
<h4 class="name" id=".sinh"><span class="type-signature type-signature-static">(static) </span>sinh(<span class="signature-param">x</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
11302
11317
|
|
|
11303
11318
|
|
|
11304
|
-
<p class="tag-description"><p>
|
|
11319
|
+
<p class="tag-description"><p>Hyperbolic sine of \(x\).</p></p>
|
|
11305
11320
|
|
|
11306
11321
|
|
|
11307
11322
|
|
|
@@ -11357,7 +11372,7 @@ and NaN respectively.</p>
|
|
|
11357
11372
|
|
|
11358
11373
|
|
|
11359
11374
|
|
|
11360
|
-
<td class="description"><p>The number the sine
|
|
11375
|
+
<td class="description"><p>The number the hyperbolic sine will be calculated of.</p></td>
|
|
11361
11376
|
</tr>
|
|
11362
11377
|
|
|
11363
11378
|
|
|
@@ -11383,7 +11398,7 @@ and NaN respectively.</p>
|
|
|
11383
11398
|
|
|
11384
11399
|
|
|
11385
11400
|
<div class="param-desc">
|
|
11386
|
-
<p>
|
|
11401
|
+
<p>Hyperbolic sine of the given value.</p>
|
|
11387
11402
|
</div>
|
|
11388
11403
|
|
|
11389
11404
|
|
|
@@ -11465,8 +11480,11 @@ and NaN respectively.</p>
|
|
|
11465
11480
|
<h4 class="name" id=".squampow"><span class="type-signature type-signature-static">(static) </span>squampow(<span class="signature-param">base</span>, <span class="signature-param">exponent</span>)<span class="type-signature"> → {Number}</span></h4>
|
|
11466
11481
|
|
|
11467
11482
|
|
|
11468
|
-
<p class="tag-description"><p>A square & multiply algorithm to compute base to the power of exponent
|
|
11469
|
-
|
|
11483
|
+
<p class="tag-description"><p>A square & multiply algorithm to compute <code>base</code> to the power of <code>exponent</code>.
|
|
11484
|
+
That is, for base \(b\) and integer exponent \(e\) it is a fast method to compute
|
|
11485
|
+
\[ b^e .\]
|
|
11486
|
+
For non-integer values of <code>exponent</code>, JavaScript's <code>Math.pow</code> is used.</p>
|
|
11487
|
+
<p>Implementated by Wolfgang Riedl.</p></p>
|
|
11470
11488
|
|
|
11471
11489
|
|
|
11472
11490
|
|
|
@@ -11633,7 +11651,7 @@ Implementated by Wolfgang Riedl.</p></p>
|
|
|
11633
11651
|
|
|
11634
11652
|
<dt class="tag-source">Source</dt>
|
|
11635
11653
|
<dd class="tag-source">
|
|
11636
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
11654
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line929">line 929</a>
|
|
11637
11655
|
</dd>
|
|
11638
11656
|
|
|
11639
11657
|
|
|
@@ -11798,7 +11816,7 @@ back to the default JavaScript Array if Float32Array is not available.</p>
|
|
|
11798
11816
|
|
|
11799
11817
|
<dt class="tag-source">Source</dt>
|
|
11800
11818
|
<dd class="tag-source">
|
|
11801
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
11819
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1440">line 1440</a>
|
|
11802
11820
|
</dd>
|
|
11803
11821
|
|
|
11804
11822
|
|
|
@@ -12856,7 +12874,7 @@ and then clamp it to <code>[a, b]</code> from there.</p></p>
|
|
|
12856
12874
|
<h4 class="name" id=".xor"><span class="type-signature type-signature-static">(static) </span>xor(<span class="signature-param">a</span>, <span class="signature-param">b</span>)<span class="type-signature"> → {Boolean}</span></h4>
|
|
12857
12875
|
|
|
12858
12876
|
|
|
12859
|
-
<p class="tag-description"><p>Logical operator: either a or b
|
|
12877
|
+
<p class="tag-description"><p>Logical operator: either <code>a</code> or <code>b</code>?</p></p>
|
|
12860
12878
|
|
|
12861
12879
|
|
|
12862
12880
|
|
|
@@ -13019,7 +13037,7 @@ and then clamp it to <code>[a, b]</code> from there.</p></p>
|
|
|
13019
13037
|
|
|
13020
13038
|
<dt class="tag-source">Source</dt>
|
|
13021
13039
|
<dd class="tag-source">
|
|
13022
|
-
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#
|
|
13040
|
+
<a href="math_math.js.html">math/math.js</a>, <a href="math_math.js.html#line1319">line 1319</a>
|
|
13023
13041
|
</dd>
|
|
13024
13042
|
|
|
13025
13043
|
|