Skip to content

Latest commit

 

History

History
142 lines (86 loc) · 8.24 KB

File metadata and controls

142 lines (86 loc) · 8.24 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:

  • caxpy( arrays ): multiply a one-dimensional single-precision complex floating-point ndarray x by a constant alpha and add the result to a one-dimensional single-precision complex floating-point ndarray y.
  • ccopy( arrays ): copy values from a one-dimensional single-precision complex floating-point ndarray x into a one-dimensional single-precision complex floating-point ndarray y.
  • dasum( arrays ): calculate the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
  • daxpy( arrays ): multiply a one-dimensional double-precision floating-point ndarray x by a constant alpha and add the result to a one-dimensional double-precision floating-point ndarray y.
  • dcopy( arrays ): copy values from a one-dimensional double-precision floating-point ndarray x into a one-dimensional double-precision floating-point ndarray y.
  • 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.
  • gaxpy( arrays ): multiply a one-dimensional ndarray x by a constant alpha and add the result to a one-dimensional ndarray y.
  • gcopy( arrays ): copy values from a one-dimensional ndarray x into a one-dimensional ndarray y.
  • 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.
  • saxpy( arrays ): multiply a one-dimensional single-precision floating-point ndarray x by a constant alpha and add the result to a one-dimensional single-precision floating-point ndarray y.
  • scopy( arrays ): copy values from a one-dimensional single-precision floating-point ndarray x into a one-dimensional single-precision floating-point ndarray y.
  • sdot( arrays ): calculate the dot product of two one-dimensional single-precision floating-point ndarrays.
  • zaxpy( arrays ): multiply a one-dimensional double-precision complex floating-point ndarray x by a constant alpha and add the result to a one-dimensional double-precision complex floating-point ndarray y.
  • zcopy( arrays ): copy values from a one-dimensional double-precision complex floating-point ndarray x into a one-dimensional double-precision complex floating-point ndarray y.

Examples

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

console.log( objectKeys( ns ) );