diff --git a/lib/node_modules/@stdlib/constants/float32/README.md b/lib/node_modules/@stdlib/constants/float32/README.md index 81956070b006..cacf60da6a18 100644 --- a/lib/node_modules/@stdlib/constants/float32/README.md +++ b/lib/node_modules/@stdlib/constants/float32/README.md @@ -45,15 +45,37 @@ var c = constants; - [`ABS_MASK`][@stdlib/constants/float32/abs-mask]: mask for excluding the sign bit of a single-precision floating-point number. - [`CBRT_EPS`][@stdlib/constants/float32/cbrt-eps]: cube root of single-precision floating-point epsilon. +- [`E`][@stdlib/constants/float32/e]: the mathematical constant _e_. - [`EPS`][@stdlib/constants/float32/eps]: difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number. - [`EXPONENT_BIAS`][@stdlib/constants/float32/exponent-bias]: the bias of a single-precision floating-point number's exponent. - [`EXPONENT_MASK`][@stdlib/constants/float32/exponent-mask]: mask for the exponent of a single-precision floating-point number. +- [`FOURTH_PI`][@stdlib/constants/float32/fourth-pi]: one fourth times the mathematical constant π. +- [`HALF_LN_TWO`][@stdlib/constants/float32/half-ln-two]: one half times the natural logarithm of `2` as a single-precision floating-point number. +- [`HALF_PI`][@stdlib/constants/float32/half-pi]: one half times the mathematical constant π. +- [`LN_HALF`][@stdlib/constants/float32/ln-half]: natural logarithm of `1/2` as a single-precision floating-point number. +- [`LN_PI`][@stdlib/constants/float32/ln-pi]: natural logarithm of the mathematical constant π as a single-precision floating-point number. +- [`LN_TEN`][@stdlib/constants/float32/ln-ten]: natural logarithm of `10` as a single-precision floating-point number. +- [`LN_TWO`][@stdlib/constants/float32/ln-two]: natural logarithm of `2` as a single-precision floating-point number. +- [`MAX_BASE10_EXPONENT_SUBNORMAL`][@stdlib/constants/float32/max-base10-exponent-subnormal]: the maximum base 10 exponent for a subnormal single-precision floating-point number. +- [`MAX_BASE10_EXPONENT`][@stdlib/constants/float32/max-base10-exponent]: the maximum base 10 exponent for a single-precision floating-point number. +- [`MAX_BASE2_EXPONENT_SUBNORMAL`][@stdlib/constants/float32/max-base2-exponent-subnormal]: the maximum biased base 2 exponent for a subnormal single-precision floating-point number. +- [`MAX_BASE2_EXPONENT`][@stdlib/constants/float32/max-base2-exponent]: the maximum biased base 2 exponent for a single-precision floating-point number. +- [`MAX_SAFE_FIBONACCI`][@stdlib/constants/float32/max-safe-fibonacci]: maximum safe Fibonacci number when stored in single-precision floating-point format. - [`MAX_SAFE_INTEGER`][@stdlib/constants/float32/max-safe-integer]: maximum safe single-precision floating-point integer. +- [`MAX_SAFE_NTH_FACTORIAL`][@stdlib/constants/float32/max-safe-nth-factorial]: maximum safe nth factorial when stored in single-precision floating-point format. +- [`MAX_SAFE_NTH_FIBONACCI`][@stdlib/constants/float32/max-safe-nth-fibonacci]: maximum safe nth Fibonacci number when stored in single-precision floating-point format. +- [`MAX_SAFE_NTH_LUCAS`][@stdlib/constants/float32/max-safe-nth-lucas]: maximum safe nth Lucas number when stored in single-precision floating-point format. - [`MAX`][@stdlib/constants/float32/max]: maximum single-precision floating-point number. +- [`MIN_BASE10_EXPONENT_SUBNORMAL`][@stdlib/constants/float32/min-base10-exponent-subnormal]: the minimum base 10 exponent for a subnormal single-precision floating-point number. +- [`MIN_BASE10_EXPONENT`][@stdlib/constants/float32/min-base10-exponent]: the minimum base 10 exponent for a normal single-precision floating-point number. +- [`MIN_BASE2_EXPONENT_SUBNORMAL`][@stdlib/constants/float32/min-base2-exponent-subnormal]: the minimum biased base 2 exponent for a subnormal single-precision floating-point number. +- [`MIN_BASE2_EXPONENT`][@stdlib/constants/float32/min-base2-exponent]: the minimum biased base 2 exponent for a normal single-precision floating-point number. - [`MIN_SAFE_INTEGER`][@stdlib/constants/float32/min-safe-integer]: minimum safe single-precision floating-point integer. - [`NAN`][@stdlib/constants/float32/nan]: single-precision floating-point `NaN`. - [`NINF`][@stdlib/constants/float32/ninf]: single-precision floating-point negative infinity. - [`NUM_BYTES`][@stdlib/constants/float32/num-bytes]: size (in bytes) of a single-precision floating-point number. +- [`PHI`][@stdlib/constants/float32/phi]: golden ratio. +- [`PI`][@stdlib/constants/float32/pi]: the mathematical constant π. - [`PINF`][@stdlib/constants/float32/pinf]: single-precision floating-point positive infinity. - [`PRECISION`][@stdlib/constants/float32/precision]: effective number of bits in the significand of a single-precision floating-point number. - [`SIGN_MASK`][@stdlib/constants/float32/sign-mask]: mask for the sign bit of a single-precision floating-point number. @@ -61,6 +83,14 @@ var c = constants; - [`SMALLEST_NORMAL`][@stdlib/constants/float32/smallest-normal]: smallest positive **normalized** single-precision floating-point number. - [`SMALLEST_SUBNORMAL`][@stdlib/constants/float32/smallest-subnormal]: smallest positive **denormalized** single-precision floating-point number. - [`SQRT_EPS`][@stdlib/constants/float32/sqrt-eps]: square root of single-precision floating-point epsilon. +- [`SQRT_HALF_PI`][@stdlib/constants/float32/sqrt-half-pi]: square root of the mathematical constant π divided by 2 as a single-precision floating-point number. +- [`SQRT_HALF`][@stdlib/constants/float32/sqrt-half]: square root of `1/2` as a single-precision floating-point number. +- [`SQRT_PHI`][@stdlib/constants/float32/sqrt-phi]: square root of the Golden ratio (φ) as a single-precision floating-point number. +- [`SQRT_PI`][@stdlib/constants/float32/sqrt-pi]: square root of the mathematical constant π as a single-precision floating-point number. +- [`SQRT_THREE`][@stdlib/constants/float32/sqrt-three]: square root of `3` as a single-precision floating-point number. +- [`SQRT_TWO_PI`][@stdlib/constants/float32/sqrt-two-pi]: square root of the mathematical constant π times 2 as a single-precision floating-point number. +- [`SQRT_TWO`][@stdlib/constants/float32/sqrt-two]: square root of `2` as a single-precision floating-point number. +- [`TWO_PI`][@stdlib/constants/float32/two-pi]: the mathematical constant π times 2. @@ -107,16 +137,56 @@ console.log( objectKeys( constants ) ); [@stdlib/constants/float32/cbrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/cbrt-eps +[@stdlib/constants/float32/e]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/e + [@stdlib/constants/float32/eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/eps [@stdlib/constants/float32/exponent-bias]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/exponent-bias [@stdlib/constants/float32/exponent-mask]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/exponent-mask +[@stdlib/constants/float32/fourth-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/fourth-pi + +[@stdlib/constants/float32/half-ln-two]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-ln-two + +[@stdlib/constants/float32/half-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-pi + +[@stdlib/constants/float32/ln-half]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/ln-half + +[@stdlib/constants/float32/ln-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/ln-pi + +[@stdlib/constants/float32/ln-ten]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/ln-ten + +[@stdlib/constants/float32/ln-two]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/ln-two + +[@stdlib/constants/float32/max-base10-exponent-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base10-exponent-subnormal + +[@stdlib/constants/float32/max-base10-exponent]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base10-exponent + +[@stdlib/constants/float32/max-base2-exponent-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base2-exponent-subnormal + +[@stdlib/constants/float32/max-base2-exponent]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-base2-exponent + +[@stdlib/constants/float32/max-safe-fibonacci]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-safe-fibonacci + [@stdlib/constants/float32/max-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-safe-integer +[@stdlib/constants/float32/max-safe-nth-factorial]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-safe-nth-factorial + +[@stdlib/constants/float32/max-safe-nth-fibonacci]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-safe-nth-fibonacci + +[@stdlib/constants/float32/max-safe-nth-lucas]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max-safe-nth-lucas + [@stdlib/constants/float32/max]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/max +[@stdlib/constants/float32/min-base10-exponent-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base10-exponent-subnormal + +[@stdlib/constants/float32/min-base10-exponent]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base10-exponent + +[@stdlib/constants/float32/min-base2-exponent-subnormal]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base2-exponent-subnormal + +[@stdlib/constants/float32/min-base2-exponent]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-base2-exponent + [@stdlib/constants/float32/min-safe-integer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/min-safe-integer [@stdlib/constants/float32/nan]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/nan @@ -125,6 +195,10 @@ console.log( objectKeys( constants ) ); [@stdlib/constants/float32/num-bytes]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/num-bytes +[@stdlib/constants/float32/phi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/phi + +[@stdlib/constants/float32/pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/pi + [@stdlib/constants/float32/pinf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/pinf [@stdlib/constants/float32/precision]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/precision @@ -139,6 +213,22 @@ console.log( objectKeys( constants ) ); [@stdlib/constants/float32/sqrt-eps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-eps +[@stdlib/constants/float32/sqrt-half-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-half-pi + +[@stdlib/constants/float32/sqrt-half]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-half + +[@stdlib/constants/float32/sqrt-phi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-phi + +[@stdlib/constants/float32/sqrt-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-pi + +[@stdlib/constants/float32/sqrt-three]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-three + +[@stdlib/constants/float32/sqrt-two-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-two-pi + +[@stdlib/constants/float32/sqrt-two]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/sqrt-two + +[@stdlib/constants/float32/two-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/two-pi + diff --git a/lib/node_modules/@stdlib/ndarray/README.md b/lib/node_modules/@stdlib/ndarray/README.md index 25c856dcc964..67e19d8de5a7 100644 --- a/lib/node_modules/@stdlib/ndarray/README.md +++ b/lib/node_modules/@stdlib/ndarray/README.md @@ -87,9 +87,11 @@ In addition, the namespace contains the following multidimensional array utility - [`filter( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/filter]: return a shallow copy of an ndarray containing only those elements which pass a test implemented by a predicate function. - [`flag( x, name )`][@stdlib/ndarray/flag]: return a specified flag for a provided ndarray. - [`flags( x )`][@stdlib/ndarray/flags]: return the flags of a provided ndarray. +- [`forEach( x, fcn[, thisArg] )`][@stdlib/ndarray/for-each]: invoke a callback function once for each ndarray element. - [`scalar2ndarray( value[, options] )`][@stdlib/ndarray/from-scalar]: convert a scalar value to a zero-dimensional ndarray. - [`ind2sub( shape, idx[, options] )`][@stdlib/ndarray/ind2sub]: convert a linear index to an array of subscripts. - [`indexModes()`][@stdlib/ndarray/index-modes]: list of ndarray index modes. +- [`ndindex( x[, options] )`][@stdlib/ndarray/index]: ndarray index constructor. - [`map( x[, options], fcn[, thisArg] )`][@stdlib/ndarray/map]: apply a callback function to elements in an input ndarray and assign results to elements in a new output ndarray. - [`maybeBroadcastArray( x, shape )`][@stdlib/ndarray/maybe-broadcast-array]: broadcast an ndarray to a specified shape if and only if the specified shape differs from the provided ndarray's shape. - [`maybeBroadcastArrays( arrays )`][@stdlib/ndarray/maybe-broadcast-arrays]: broadcast ndarrays to a common shape. @@ -120,6 +122,7 @@ In addition, the namespace contains the following multidimensional array utility - [`strides( x )`][@stdlib/ndarray/strides]: return the strides of a provided ndarray. - [`sub2ind( shape, ...subscripts[, options] )`][@stdlib/ndarray/sub2ind]: convert subscripts to a linear index. - [`ndarray2array( x )`][@stdlib/ndarray/to-array]: convert an ndarray to a generic array. +- [`ndarray2fancy( x[, options] )`][@stdlib/ndarray/to-fancy]: convert an ndarray to an object supporting fancy indexing. - [`ndarray2json( x )`][@stdlib/ndarray/to-json]: serialize an ndarray as a JSON object. - [`zerosLike( x[, options] )`][@stdlib/ndarray/zeros-like]: create a zero-filled ndarray having the same shape and data type as a provided ndarray. - [`zeros( shape[, options] )`][@stdlib/ndarray/zeros]: create a zero-filled ndarray having a specified shape and data type. @@ -197,12 +200,16 @@ console.log( objectKeys( ns ) ); [@stdlib/ndarray/flags]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/flags +[@stdlib/ndarray/for-each]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/for-each + [@stdlib/ndarray/from-scalar]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/from-scalar [@stdlib/ndarray/ind2sub]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/ind2sub [@stdlib/ndarray/index-modes]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/index-modes +[@stdlib/ndarray/index]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/index + [@stdlib/ndarray/map]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/map [@stdlib/ndarray/maybe-broadcast-array]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/maybe-broadcast-array @@ -263,6 +270,8 @@ console.log( objectKeys( ns ) ); [@stdlib/ndarray/to-array]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/to-array +[@stdlib/ndarray/to-fancy]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/to-fancy + [@stdlib/ndarray/to-json]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/to-json [@stdlib/ndarray/zeros-like]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/zeros-like diff --git a/lib/node_modules/@stdlib/stats/base/README.md b/lib/node_modules/@stdlib/stats/base/README.md index 5acb74d1ba42..a885eb9f0a1b 100644 --- a/lib/node_modules/@stdlib/stats/base/README.md +++ b/lib/node_modules/@stdlib/stats/base/README.md @@ -83,7 +83,7 @@ The namespace contains the following statistical functions: - [`dmeanvarpn( N, correction, x, strideX, out, strideOut )`][@stdlib/stats/base/dmeanvarpn]: calculate the mean and variance of a double-precision floating-point strided array using a two-pass algorithm. - [`dmeanwd( N, x, stride )`][@stdlib/stats/base/dmeanwd]: calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm. - [`dmediansorted( N, x, stride )`][@stdlib/stats/base/dmediansorted]: calculate the median value of a sorted double-precision floating-point strided array. -- [`dmidrange( N, x, stride )`][@stdlib/stats/base/dmidrange]: calculate the mid-range of a double-precision floating-point strided array. +- [`dmidrange( N, x, strideX )`][@stdlib/stats/base/dmidrange]: calculate the mid-range of a double-precision floating-point strided array. - [`dmin( N, x, strideX )`][@stdlib/stats/base/dmin]: calculate the minimum value of a double-precision floating-point strided array. - [`dminabs( N, x, strideX )`][@stdlib/stats/base/dminabs]: calculate the minimum absolute value of a double-precision floating-point strided array. - [`dminsorted( N, x, stride )`][@stdlib/stats/base/dminsorted]: calculate the minimum value of a sorted double-precision floating-point strided array. @@ -218,7 +218,7 @@ The namespace contains the following statistical functions: - [`smeanpw( N, x, stride )`][@stdlib/stats/base/smeanpw]: calculate the arithmetic mean of a single-precision floating-point strided array using pairwise summation. - [`smeanwd( N, x, stride )`][@stdlib/stats/base/smeanwd]: calculate the arithmetic mean of a single-precision floating-point strided array using Welford's algorithm. - [`smediansorted( N, x, stride )`][@stdlib/stats/base/smediansorted]: calculate the median value of a sorted single-precision floating-point strided array. -- [`smidrange( N, x, stride )`][@stdlib/stats/base/smidrange]: calculate the mid-range of a single-precision floating-point strided array. +- [`smidrange( N, x, strideX )`][@stdlib/stats/base/smidrange]: calculate the mid-range of a single-precision floating-point strided array. - [`smin( N, x, strideX )`][@stdlib/stats/base/smin]: calculate the minimum value of a single-precision floating-point strided array. - [`sminabs( N, x, strideX )`][@stdlib/stats/base/sminabs]: calculate the minimum absolute value of a single-precision floating-point strided array. - [`sminsorted( N, x, stride )`][@stdlib/stats/base/sminsorted]: calculate the minimum value of a sorted single-precision floating-point strided array.