extra-math 1.3.6 → 1.3.7
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 +1 -1
- package/index.d.ts +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ math.lcm(2, 3, 4);
|
|
|
60
60
|
<br>
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
##
|
|
63
|
+
## References
|
|
64
64
|
|
|
65
65
|
- [Yang, Z. H., & Tian, J. F. (2018). An accurate approximation formula for gamma function. Journal of inequalities and applications, 2018(1), 56.](https://doi.org/10.1186/s13660-018-1646-6)
|
|
66
66
|
- [MathLib by @alawatthe](https://github.com/alawatthe/MathLib)
|
package/index.d.ts
CHANGED
|
@@ -179,13 +179,15 @@ declare function gamma(x: number): number;
|
|
|
179
179
|
*/
|
|
180
180
|
declare function lgamma(x: number): number;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Find error function value of number (approximation).
|
|
183
183
|
* @param x a number
|
|
184
|
+
* @returns erf(x)
|
|
184
185
|
*/
|
|
185
186
|
declare function erf(x: number): number;
|
|
186
187
|
/**
|
|
187
|
-
*
|
|
188
|
+
* Find the complementary error function value of number (approximation).
|
|
188
189
|
* @param x a number
|
|
190
|
+
* @returns erfc(x)
|
|
189
191
|
*/
|
|
190
192
|
declare function erfc(x: number): number;
|
|
191
193
|
|