@stdlib/blas-ext-base-ndarray
v0.1.1
Published
Base ndarray extended BLAS functions.
Downloads
110
Readme
Base
Base ndarray extended BLAS functions.
Installation
npm install @stdlib/blas-ext-base-ndarrayUsage
var ns = require( '@stdlib/blas-ext-base-ndarray' );ns
Namespace containing base ndarray extended BLAS functions.
var o = ns;
// returns {...}The namespace exposes the following APIs:
csum( arrays ): compute the sum of all elements in a one-dimensional single-precision complex floating-point ndarray.dcusum( arrays ): compute the cumulative sum of a one-dimensional double-precision floating-point ndarray.dindexOf( arrays ): return the first index of a search element in a one-dimensional double-precision floating-point ndarray.dlastIndexOf( arrays ): return the last index of a search element in a one-dimensional double-precision floating-point ndarray.dlinspace( arrays ): fill a one-dimensional double-precision floating-point ndarray with linearly spaced values over a specified interval.dsorthp( arrays ): sort a one-dimensional double-precision floating-point ndarray using heapsort.dsum( arrays ): compute the sum of all elements in a one-dimensional double-precision floating-point ndarray.gcusum( arrays ): compute the cumulative sum of a one-dimensional ndarray.gfindIndex( arrays, clbk[, thisArg] ): return the index of the first element in a one-dimensional ndarray which passes a test implemented by a predicate function.gfindLastIndex( arrays, clbk[, thisArg] ): return the index of the last element in a one-dimensional ndarray which passes a test implemented by a predicate function.gindexOf( arrays ): return the first index of a search element in a one-dimensional ndarray.glastIndexOf( arrays ): return the last index of a search element in a one-dimensional ndarray.glinspace( arrays ): fill a one-dimensional ndarray with linearly spaced values over a specified interval.gsorthp( arrays ): sort a one-dimensional ndarray using heapsort.gsum( arrays ): compute the sum of all elements in a one-dimensional ndarray.scusum( arrays ): compute the cumulative sum of a one-dimensional single-precision floating-point ndarray.sindexOf( arrays ): return the first index of a search element in a one-dimensional single-precision floating-point ndarray.slastIndexOf( arrays ): return the last index of a search element in a one-dimensional single-precision floating-point ndarray.slinspace( arrays ): fill a one-dimensional single-precision floating-point ndarray with linearly spaced values over a specified interval.ssorthp( arrays ): sort a one-dimensional single-precision floating-point ndarray using heapsort.ssum( arrays ): compute the sum of all elements in a one-dimensional single-precision floating-point ndarray.zsum( arrays ): compute the sum of all elements in a one-dimensional double-precision complex floating-point ndarray.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/blas-ext-base-ndarray' );
console.log( objectKeys( ns ) );Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2026. The Stdlib Authors.
