@stdlib/math-strided-ops
v0.2.2
Published
Strided array math operations.
Downloads
20
Readme
Operations
Strided array math operations.
Installation
npm install @stdlib/math-strided-ops
Usage
var ns = require( '@stdlib/math-strided-ops' );
ns
Namespace containing strided array math operations.
var ops = ns;
// returns {...}
The namespace contains the following strided array functions:
addBy( N, x, strideX, y, strideY, z, strideZ, clbk[, thisArg] )
: element-wise addition of two strided arrays via a callback function.add( N, dtypeX, x, strideX, dtypeY, y, strideY, dtypeZ, z, strideZ )
: element-wise addition of two strided arrays.mulBy( N, x, strideX, y, strideY, z, strideZ, clbk[, thisArg] )
: element-wise multiplication of two strided arrays via a callback function.mul( N, dtypeX, x, strideX, dtypeY, y, strideY, dtypeZ, z, strideZ )
: element-wise multiplication of two strided arrays.subBy( N, x, strideX, y, strideY, z, strideZ, clbk[, thisArg] )
: element-wise subtraction of two strided arrays via a callback function.sub( N, dtypeX, x, strideX, dtypeY, y, strideY, dtypeZ, z, strideZ )
: element-wise subtraction of two strided arrays.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/math-strided-ops' );
console.log( objectKeys( ns ) );
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-2024. The Stdlib Authors.