|  | ||
|---|---|---|
| .. | ||
| ccopy | ||
| cswap | ||
| dasum | ||
| daxpy | ||
| dcopy | ||
| ddot | ||
| dnrm2 | ||
| docs/types | ||
| dscal | ||
| dsdot | ||
| dswap | ||
| gasum | ||
| gaxpy | ||
| gcopy | ||
| gdot | ||
| gnrm2 | ||
| gscal | ||
| gswap | ||
| lib | ||
| sasum | ||
| saxpy | ||
| scopy | ||
| sdot | ||
| sdsdot | ||
| snrm2 | ||
| sscal | ||
| sswap | ||
| package.json | ||
| README.md | ||
BLAS
Standard library base reference basic linear algebra subprograms (BLAS).
Usage
var blas = require( '@stdlib/blas/base' );
blas
Base reference basic linear algebra subprograms (BLAS).
var o = blas;
// returns {...}
BLAS Level 1
- ccopy( N, x, strideX, y, strideY ): copy values from one complex single-precision floating-point vector to another complex single-precision floating-point vector.
- cswap( N, x, strideX, y, strideY ): interchange two complex single-precision floating-point vectors.
- dasum( N, x, stride ): compute the sum of absolute values (L1 norm).
- daxpy( N, alpha, x, strideX, y, strideY ): multiply a vector- xby a constant- alphaand add the result to- y.
- dcopy( N, x, strideX, y, strideY ): copy values from- xinto- y.
- ddot( N, x, strideX, y, strideY ): calculate the dot product of two double-precision floating-point vectors.
- dnrm2( N, x, stride ): calculate the L2-norm of a double-precision floating-point vector.
- dscal( N, alpha, x, stride ): multiply a double-precision floating-point vector- xby a constant- alpha.
- dsdot( N, x, strideX, y, strideY ): calculate the dot product with extended accumulation and result of two single-precision floating-point vectors.
- dswap( N, x, strideX, y, strideY ): interchange two double-precision floating-point vectors.
- gasum( N, x, stride ): compute the sum of absolute values (L1 norm).
- gaxpy( N, alpha, x, strideX, y, strideY ): multiply- xby a constant- alphaand add the result to- y.
- gcopy( N, x, strideX, y, strideY ): copy values from- xinto- y.
- gdot( N, x, strideX, y, strideY ): calculate the dot product of two vectors.
- gnrm2( N, x, stride ): calculate the L2-norm of a vector.
- gscal( N, alpha, x, stride ): multiply a vector- xby a constant- alpha.
- gswap( N, x, strideX, y, strideY ): interchange two vectors.
- sasum( N, x, stride ): compute the sum of absolute values (L1 norm).
- saxpy( N, alpha, x, strideX, y, strideY ): multiply a vector- xby a constant- alphaand add the result to- y.
- scopy( N, x, strideX, y, strideY ): copy values from- xinto- y.
- sdot( N, x, strideX, y, strideY ): calculate the dot product of two single-precision floating-point vectors.
- sdsdot( N, scalar, x, strideX, y, strideY ): calculate the dot product of two single-precision floating-point vectors with extended accumulation.
- snrm2( N, x, stride ): calculate the L2-norm of a single-precision floating-point vector.
- sscal( N, alpha, x, stride ): multiply a single-precision floating-point vector- xby a constant- alpha.
- sswap( N, x, strideX, y, strideY ): interchange two single-precision floating-point vectors.
Auxiliary BLAS
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var blas = require( '@stdlib/blas/base' );
console.log( objectKeys( blas ) );