extra-math 1.3.26 → 1.3.29
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/README.md +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,11 +15,11 @@ can be obtained. To calculate the number of ways of *ordering items*, use
|
|
|
15
15
|
[factorial]/`P(n, k)`, [binomial]/`C(n, k)`, or [multinomial]/`n!/k₁!k₂!...`.
|
|
16
16
|
|
|
17
17
|
**Real numbers**: *Range* of a number can be controlled with [constrain],
|
|
18
|
-
[
|
|
18
|
+
[normalize], or [remap]. Use [lerp] for *linear interpolation* (or extrapolation);
|
|
19
19
|
[root] for calculating the *n-th root* of a number; and [log] to find the
|
|
20
20
|
*logarithm* of a number with a given base. Results of *special mathematical
|
|
21
|
-
functions* (approximations) for a given number can be obtained with [
|
|
22
|
-
|
|
21
|
+
functions* (approximations) for a given number can be obtained with [erf]
|
|
22
|
+
and [erfc].
|
|
23
23
|
|
|
24
24
|
**Geometry**: Perform conversion from [degrees] to [radians] and vice versa.
|
|
25
25
|
Find the [magnitude] of a vector or [distance] between two points.
|
|
@@ -122,6 +122,9 @@ math.lcm(2, 3, 4);
|
|
|
122
122
|
|
|
123
123
|
[](https://www.youtube.com/watch?v=dW8Cy6WrO94)<br>
|
|
124
124
|
[](https://zenodo.org/badge/latestdoi/141781770)
|
|
125
|
+
[](https://coveralls.io/github/nodef/extra-math?branch=master)
|
|
126
|
+
[](https://codeclimate.com/github/nodef/extra-math/test_coverage)
|
|
127
|
+
[](https://codeclimate.com/github/nodef/extra-math/maintainability)
|
|
125
128
|
|
|
126
129
|
|
|
127
130
|
[rem]: https://nodef.github.io/extra-math/modules.html#rem
|