Skip to content

Commit 7ac401b

Browse files
committed
feat: update blas/ext/base/ndarray TypeScript declarations
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent 69ccb2a commit 7ac401b

File tree

1 file changed

+38
-0
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types

1 file changed

+38
-0
lines changed

lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import csum = require( '@stdlib/blas/ext/base/ndarray/csum' );
2424
import csumkbn = require( '@stdlib/blas/ext/base/ndarray/csumkbn' );
25+
import czeroTo = require( '@stdlib/blas/ext/base/ndarray/czero-to' );
2526
import dcircshift = require( '@stdlib/blas/ext/base/ndarray/dcircshift' );
2627
import dcusum = require( '@stdlib/blas/ext/base/ndarray/dcusum' );
2728
import dcusumkbn = require( '@stdlib/blas/ext/base/ndarray/dcusumkbn' );
@@ -93,6 +94,7 @@ import ssumpw = require( '@stdlib/blas/ext/base/ndarray/ssumpw' );
9394
import szeroTo = require( '@stdlib/blas/ext/base/ndarray/szero-to' );
9495
import zsum = require( '@stdlib/blas/ext/base/ndarray/zsum' );
9596
import zsumkbn = require( '@stdlib/blas/ext/base/ndarray/zsumkbn' );
97+
import zzeroTo = require( '@stdlib/blas/ext/base/ndarray/zzero-to' );
9698

9799
/**
98100
* Interface describing the `ndarray` namespace.
@@ -134,6 +136,24 @@ interface Namespace {
134136
*/
135137
csumkbn: typeof csumkbn;
136138

139+
/**
140+
* Fills a one-dimensional single-precision complex floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from zero.
141+
*
142+
* @param arrays - array-like object containing a one-dimensional input ndarray
143+
* @returns input ndarray
144+
*
145+
* @example
146+
* var Complex64Array = require( '@stdlib/array/complex64' );
147+
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
148+
*
149+
* var xbuf = new Complex64Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
150+
* var x = new ndarray( 'complex64', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
151+
*
152+
* var out = ns.czeroTo( [ x ] );
153+
* // returns <ndarray>[ <Complex64>[ 0.0, 0.0 ], <Complex64>[ 1.0, 0.0 ], <Complex64>[ 2.0, 0.0 ], <Complex64>[ 3.0, 0.0 ] ]
154+
*/
155+
czeroTo: typeof czeroTo;
156+
137157
/**
138158
* Circularly shifts the elements of a one-dimensional double-precision floating-point ndarray by a specified number of positions.
139159
*
@@ -1803,6 +1823,24 @@ interface Namespace {
18031823
* // returns <Complex128>[ 5.0, 5.0 ]
18041824
*/
18051825
zsumkbn: typeof zsumkbn;
1826+
1827+
/**
1828+
* Fills a one-dimensional double-precision complex floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from zero.
1829+
*
1830+
* @param arrays - array-like object containing a one-dimensional input ndarray
1831+
* @returns input ndarray
1832+
*
1833+
* @example
1834+
* var Complex128Array = require( '@stdlib/array/complex128' );
1835+
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
1836+
*
1837+
* var xbuf = new Complex128Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
1838+
* var x = new ndarray( 'complex128', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
1839+
*
1840+
* var out = ns.zzeroTo( [ x ] );
1841+
* // returns <ndarray>[ <Complex128>[ 0.0, 0.0 ], <Complex128>[ 1.0, 0.0 ], <Complex128>[ 2.0, 0.0 ], <Complex128>[ 3.0, 0.0 ] ]
1842+
*/
1843+
zzeroTo: typeof zzeroTo;
18061844
}
18071845

18081846
/**

0 commit comments

Comments
 (0)