Package Exports
- @stdlib/blas-base
- @stdlib/blas-base/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stdlib/blas-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
BLAS
Base (i.e., lower-level) basic linear algebra subprograms (BLAS).
Installation
npm install @stdlib/blas-baseUsage
var blas = require( '@stdlib/blas-base' );blas
Namespace for "base" (i.e., lower-level) 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 vectorxby a constantalphaand add the result toy.dcopy( N, x, strideX, y, strideY ): copy values fromxintoy.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 vectorxby a constantalpha.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 ): multiplyxby a constantalphaand add the result toy.gcopy( N, x, strideX, y, strideY ): copy values fromxintoy.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 vectorxby a constantalpha.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 vectorxby a constantalphaand add the result toy.scopy( N, x, strideX, y, strideY ): copy values fromxintoy.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 vectorxby a constantalpha.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 ) );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-2022. The Stdlib Authors.