Base
Base strided.
Usage
var ns = require( '@stdlib/strided/base' );
ns
Base strided.
var o = ns;
// returns {...}
The following functions are currently exported:
binaryAddonDispatch( addon, fallback )
: dispatch to a native add-on applying a binary function to two input strided arrays.binary( arrays, shape, strides, fcn )
: apply a binary callback to strided input array elements and assign results to elements in a strided output array.dmap( N, x, strideX, y, strideY, fcn )
: apply a unary function to a double-precision floating-point strided input array and assign results to a double-precision floating-point strided output array.dmap2( N, x, strideX, y, strideY, z, strideZ, fcn )
: apply a binary function to double-precision floating-point strided input arrays and assign results to a double-precision floating-point strided output array.dmskmap( N, x, strideX, mask, strideMask, y, strideY, fcn )
: apply a unary function to a double-precision floating-point strided input array according to a strided mask array and assign results to a double-precision floating-point strided output array.dmskmap2( N, x, strideX, y, strideY, mask, strideMask, z, strideZ, fcn )
: apply a binary function to double-precision floating-point strided input arrays according to a strided mask array and assign results to a double-precision floating-point strided output array.dtypeEnum2Str( dtype )
: return the data type string associated with a strided array data type enumeration constant.dtypeResolveEnum( dtype )
: return the enumeration constant associated with a supported strided array data type value.dtypeStr2Enum( dtype )
: return the enumeration constant associated with a strided array data type string.mapBy( N, x, strideX, y, strideY, fcn, clbk[, thisArg] )
: apply a unary function to each element retrieved from a strided input array according to a callback function and assign results to a strided output array.mapBy2( N, x, strideX, y, strideY, z, strideZ, fcn, clbk[, thisArg] )
: apply a binary function to each pair of elements retrieved from strided input arrays according to a callback function and assign results to a strided output array.metaDataProps( meta, dtypes, obj, bool )
: define non-enumerable read-only properties which expose strided array function meta data.mskunary( arrays, shape, strides, fcn )
: apply a unary callback to elements in a strided input array according to elements in a strided mask array and assign results to elements in a strided output array.nullary( arrays, shape, strides, fcn )
: apply a nullary callback and assign results to elements in a strided output array.quaternary( arrays, shape, strides, fcn )
: apply a quaternary callback to strided input array elements and assign results to elements in a strided output array.quinary( arrays, shape, strides, fcn )
: apply a quinary callback to strided input array elements and assign results to elements in a strided output array.smap( N, x, strideX, y, strideY, fcn )
: apply a unary function to a single-precision floating-point strided input array and assign results to a single-precision floating-point strided output array.smap2( N, x, strideX, y, strideY, z, strideZ, fcn )
: apply a binary function to single-precision floating-point strided input arrays and assign results to a single-precision floating-point strided output array.smskmap( N, x, strideX, mask, strideMask, y, strideY, fcn )
: apply a unary function to a single-precision floating-point strided input array according to a strided mask array and assign results to a single-precision floating-point strided output array.smskmap2( N, x, strideX, y, strideY, mask, strideMask, z, strideZ, fcn )
: apply a binary function to single-precision floating-point strided input arrays according to a strided mask array and assign results to a single-precision floating-point strided output array.ternary( arrays, shape, strides, fcn )
: apply a ternary callback to strided input array elements and assign results to elements in a strided output array.unaryAddonDispatch( addon, fallback )
: dispatch to a native add-on applying a unary function to an input strided array.unary( arrays, shape, strides, fcn )
: apply a unary callback to elements in a strided input array and assign results to elements in a strided output array.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/strided/base' );
console.log( objectKeys( ns ) );