Skip to content

Latest commit

 

History

History
112 lines (66 loc) · 3.89 KB

File metadata and controls

112 lines (66 loc) · 3.89 KB

Base

Base ndarray BLAS functions.

Usage

var ns = require( '@stdlib/blas/base/ndarray' );

ns

Namespace containing base ndarray BLAS functions.

var o = ns;
// returns {...}

The namespace exposes the following APIs:

  • dasum( arrays ): calculate the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
  • ddot( arrays ): calculate the dot product of two one-dimensional double-precision floating-point ndarrays.
  • gasum( arrays ): calculate the sum of absolute values for all elements in a one-dimensional ndarray.
  • gdot( arrays ): calculate the dot product of two one-dimensional ndarrays.
  • sasum( arrays ): calculate the sum of absolute values for all elements in a one-dimensional single-precision floating-point ndarray.
  • sdot( arrays ): calculate the dot product of two one-dimensional single-precision floating-point ndarrays.

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/blas/base/ndarray' );

console.log( objectKeys( ns ) );