Skip to content

Latest commit

 

History

History
 
 

README.md

Base

Base ndarray extended BLAS functions.

Usage

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.
  • 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.
  • 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.
  • 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 ) );