@vicimpa/math
A collection of mathematical utility functions including operations like clamp, lerp, normalize, and more.
A collection of mathematical utility functions including operations like clamp, lerp, normalize, and more.
```javascript import { cubeRoot } from 'cuberoot';
@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)
Create an iterator which computes the principal square root of each iterated value.
Create an iterator which computes `sqrt(1+x) - 1` for each iterated value.
Create an iterator which computes the reciprocal (inverse) square root of each iterated value.
Compute the principal square root for each element retrieved from an input strided array via a callback function.
Compute the reciprocal square root for each element in a single-precision floating-point strided array.
Compute the principal square root for each element in a single-precision floating-point strided array.
Compute the reciprocal square root for each element in a double-precision floating-point strided array according to a strided mask array.
Compute the principal square root for each element in a double-precision floating-point strided array according to a strided mask array.
Compute the reciprocal square root for each element in a double-precision floating-point strided array.
Compute the reciprocal square root for each element in a strided array.
Compute the reciprocal square root for each element in a single-precision floating-point strided array according to a strided mask array.
Compute the principal square root for each element in a single-precision floating-point strided array according to a strided mask array.
Compute the principal square root for each element in a strided array.
Compute the principal square root for each element in a double-precision floating-point strided array.
Square root of double-precision floating-point epsilon.
Square root of 1/2.
Square root of 0.5π.