diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts index 904518914fd6..bc990c402bf4 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts @@ -26,6 +26,7 @@ import ccopyWithin = require( '@stdlib/blas/ext/base/ndarray/ccopy-within' ); import cfillEqual = require( '@stdlib/blas/ext/base/ndarray/cfill-equal' ); import cindexOf = require( '@stdlib/blas/ext/base/ndarray/cindex-of' ); import cindexOfTruthy = require( '@stdlib/blas/ext/base/ndarray/cindex-of-truthy' ); +import clogspace = require( '@stdlib/blas/ext/base/ndarray/clogspace' ); import coneTo = require( '@stdlib/blas/ext/base/ndarray/cone-to' ); import csum = require( '@stdlib/blas/ext/base/ndarray/csum' ); import csumkbn = require( '@stdlib/blas/ext/base/ndarray/csumkbn' ); @@ -196,6 +197,7 @@ import zaxpby = require( '@stdlib/blas/ext/base/ndarray/zaxpby' ); import zcopyWithin = require( '@stdlib/blas/ext/base/ndarray/zcopy-within' ); import zindexOf = require( '@stdlib/blas/ext/base/ndarray/zindex-of' ); import zindexOfTruthy = require( '@stdlib/blas/ext/base/ndarray/zindex-of-truthy' ); +import zlogspace = require( '@stdlib/blas/ext/base/ndarray/zlogspace' ); import zoneTo = require( '@stdlib/blas/ext/base/ndarray/zone-to' ); import zsum = require( '@stdlib/blas/ext/base/ndarray/zsum' ); import zsumkbn = require( '@stdlib/blas/ext/base/ndarray/zsumkbn' ); @@ -417,6 +419,50 @@ interface Namespace { */ cindexOfTruthy: typeof cindexOfTruthy; + /** + * Fills a one-dimensional single-precision complex floating-point ndarray with logarithmically spaced values over a specified interval. + * + * ## Notes + * + * - The function expects the following ndarrays: + * + * - a one-dimensional input ndarray. + * - a zero-dimensional ndarray specifying the base of the logarithmic scale. + * - a zero-dimensional ndarray specifying the exponent of the starting value. + * - a zero-dimensional ndarray specifying the exponent of the final value. + * - a zero-dimensional ndarray specifying whether to include the `base^stop` value when writing values to the input ndarray. + * + * @param arrays - array-like object containing ndarrays + * @returns input ndarray + * + * @example + * var Complex64Vector = require( '@stdlib/ndarray/vector/complex64' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); + * var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' ); + * + * var x = new Complex64Vector( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] ); + * + * var base = scalar2ndarray( 10.0, { + * 'dtype': 'float32' + * }); + * + * var strt = scalar2ndarray( new Complex64( 0.0, 0.0 ), { + * 'dtype': 'complex64' + * }); + * + * var stp = scalar2ndarray( new Complex64( 3.0, 0.0 ), { + * 'dtype': 'complex64' + * }); + * + * var endpoint = scalar2ndarray( true, { + * 'dtype': 'bool' + * }); + * + * var out = ns.clogspace( [ x, base, strt, stp, endpoint ] ); + * // returns [ [ 1.0, 0.0 ], [ 10.0, 0.0 ], [ 100.0, 0.0 ], [ 1000.0, 0.0 ] ] + */ + clogspace: typeof clogspace; + /** * Fills a one-dimensional single-precision complex floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one. * @@ -5217,6 +5263,50 @@ interface Namespace { */ zindexOfTruthy: typeof zindexOfTruthy; + /** + * Fills a one-dimensional double-precision complex floating-point ndarray with logarithmically spaced values over a specified interval. + * + * ## Notes + * + * - The function expects the following ndarrays: + * + * - a one-dimensional input ndarray. + * - a zero-dimensional ndarray specifying the base of the logarithmic scale. + * - a zero-dimensional ndarray specifying the exponent of the starting value. + * - a zero-dimensional ndarray specifying the exponent of the final value. + * - a zero-dimensional ndarray specifying whether to include the `base^stop` value when writing values to the input ndarray. + * + * @param arrays - array-like object containing ndarrays + * @returns input ndarray + * + * @example + * var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); + * var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' ); + * + * var x = new Complex128Vector( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] ); + * + * var base = scalar2ndarray( 10.0, { + * 'dtype': 'float64' + * }); + * + * var strt = scalar2ndarray( new Complex128( 0.0, 0.0 ), { + * 'dtype': 'complex128' + * }); + * + * var stp = scalar2ndarray( new Complex128( 3.0, 0.0 ), { + * 'dtype': 'complex128' + * }); + * + * var endpoint = scalar2ndarray( true, { + * 'dtype': 'bool' + * }); + * + * var out = ns.zlogspace( [ x, base, strt, stp, endpoint ] ); + * // returns [ [ 1.0, 0.0 ], [ 10.0, 0.0 ], [ 100.0, 0.0 ], [ 1000.0, 0.0 ] ] + */ + zlogspace: typeof zlogspace; + /** * Fills a one-dimensional double-precision complex floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one. *