diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/ndarray/docs/types/index.d.ts index d0bdd40d60db..1147f0631451 100644 --- a/lib/node_modules/@stdlib/blas/base/ndarray/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/base/ndarray/docs/types/index.d.ts @@ -22,6 +22,7 @@ import caxpy = require( '@stdlib/blas/base/ndarray/caxpy' ); import ccopy = require( '@stdlib/blas/base/ndarray/ccopy' ); +import cswap = require( '@stdlib/blas/base/ndarray/cswap' ); import dasum = require( '@stdlib/blas/base/ndarray/dasum' ); import daxpy = require( '@stdlib/blas/base/ndarray/daxpy' ); import dcopy = require( '@stdlib/blas/base/ndarray/dcopy' ); @@ -39,6 +40,7 @@ import sdot = require( '@stdlib/blas/base/ndarray/sdot' ); import sswap = require( '@stdlib/blas/base/ndarray/sswap' ); import zaxpy = require( '@stdlib/blas/base/ndarray/zaxpy' ); import zcopy = require( '@stdlib/blas/base/ndarray/zcopy' ); +import zswap = require( '@stdlib/blas/base/ndarray/zswap' ); /** * Interface describing the `ndarray` namespace. @@ -105,6 +107,34 @@ interface Namespace { */ ccopy: typeof ccopy; + /** + * Interchanges two one-dimensional complex single-precision floating-point ndarrays. + * + * ## Notes + * + * - The function expects the following ndarrays: + * + * - first one-dimensional input ndarray. + * - second one-dimensional input ndarray. + * + * @param arrays - array-like object containing ndarrays + * @returns second input ndarray + * + * @example + * var Complex64Vector = require( '@stdlib/ndarray/vector/complex64' ); + * + * var x = new Complex64Vector( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * var y = new Complex64Vector( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] ); + * + * var z = ns.cswap( [ x, y ] ); + * // x => [ [ 7.0, 8.0 ], [ 9.0, 10.0 ], [ 11.0, 12.0 ] ] + * // y => [ [ 1.0, 2.0 ], [ 3.0, 4.0 ], [ 5.0, 6.0 ] ] + * + * var bool = ( z === y ); + * // returns true + */ + cswap: typeof cswap; + /** * Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray. * @@ -567,6 +597,34 @@ interface Namespace { * // returns true */ zcopy: typeof zcopy; + + /** + * Interchanges two one-dimensional complex double-precision floating-point ndarrays. + * + * ## Notes + * + * - The function expects the following ndarrays: + * + * - first one-dimensional input ndarray. + * - second one-dimensional input ndarray. + * + * @param arrays - array-like object containing ndarrays + * @returns second input ndarray + * + * @example + * var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' ); + * + * var x = new Complex128Vector( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * var y = new Complex128Vector( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] ); + * + * var z = ns.zswap( [ x, y ] ); + * // x => [ [ 7.0, 8.0 ], [ 9.0, 10.0 ], [ 11.0, 12.0 ] ] + * // y => [ [ 1.0, 2.0 ], [ 3.0, 4.0 ], [ 5.0, 6.0 ] ] + * + * var bool = ( z === y ); + * // returns true + */ + zswap: typeof zswap; } /**