Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions lib/node_modules/@stdlib/blas/ext/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import indexOf = require( '@stdlib/blas/ext/index-of' );
import join = require( '@stdlib/blas/ext/join' );
import lastIndexOf = require( '@stdlib/blas/ext/last-index-of' );
import linspace = require( '@stdlib/blas/ext/linspace' );
import logspace = require( '@stdlib/blas/ext/logspace' );
import oneTo = require( '@stdlib/blas/ext/one-to' );
import sort = require( '@stdlib/blas/ext/sort' );
import sorthp = require( '@stdlib/blas/ext/sorthp' );
Expand Down Expand Up @@ -369,6 +370,35 @@ interface Namespace {
*/
linspace: typeof linspace;

/**
* Returns a new ndarray filled with logarithmically spaced values over a specified interval along one or more ndarray dimensions.
*
* @param shape - array shape
* @param base - base of the logarithmic scale
* @param start - exponent of the starting value
* @param stop - exponent of the final value
* @param endpoint - specifies whether to include the `base^stop` value when writing values to the output ndarray
* @param options - function options
* @returns output ndarray
*
* @example
* var out = ns.logspace( [ 2, 3 ], 10.0, 0.0, 2.0 );
* // returns <ndarray>[ [ 1.0, 10.0, 100.0 ], [ 1.0, 10.0, 100.0 ] ]
*
* @example
* var zeros = require( '@stdlib/ndarray/zeros' );
*
* var x = zeros( [ 2, 3 ] );
* // returns <ndarray>
*
* var out = ns.logspace.assign( x, 10.0, 0.0, 2.0 );
* // returns <ndarray>[ [ 1.0, 10.0, 100.0 ], [ 1.0, 10.0, 100.0 ] ]
*
* var bool = ( out === x );
* // returns true
*/
logspace: typeof logspace;

/**
* Returns a new ndarray filled with linearly spaced numeric elements which increment by 1 starting from one along one or more ndarray dimensions.
*
Expand Down