time-to-botec/squiggle/node_modules/@stdlib/strided/base
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
binary feat: add the node modules 2022-12-03 12:44:49 +00:00
dmap feat: add the node modules 2022-12-03 12:44:49 +00:00
dmskmap feat: add the node modules 2022-12-03 12:44:49 +00:00
docs/types feat: add the node modules 2022-12-03 12:44:49 +00:00
function-object feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
map-by feat: add the node modules 2022-12-03 12:44:49 +00:00
mskunary feat: add the node modules 2022-12-03 12:44:49 +00:00
nullary feat: add the node modules 2022-12-03 12:44:49 +00:00
quaternary feat: add the node modules 2022-12-03 12:44:49 +00:00
quinary feat: add the node modules 2022-12-03 12:44:49 +00:00
smap feat: add the node modules 2022-12-03 12:44:49 +00:00
smskmap feat: add the node modules 2022-12-03 12:44:49 +00:00
ternary feat: add the node modules 2022-12-03 12:44:49 +00:00
unary feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

Base

Base strided.

Usage

var ns = require( '@stdlib/strided/base' );

ns

Base strided.

var o = ns;
// returns {...}

The following functions are currently exported:

  • 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 accepting and returning double-precision floating-point numbers to each element in a double-precision floating-point strided input array and assign each result to an element in a double-precision floating-point strided output array.
  • dmskmap( N, x, strideX, mask, strideMask, y, strideY, fcn ): apply a unary function accepting and returning double-precision floating-point numbers to each element in a double-precision floating-point strided input array according to a corresponding element in a strided mask array and assign each result to an element in a double-precision floating-point strided output array.
  • 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 each result to an element in a strided output array.
  • 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 accepting and returning single-precision floating-point numbers to each element in a single-precision floating-point strided input array and assign each result to an element in a single-precision floating-point strided output array.
  • smskmap( N, x, strideX, mask, strideMask, y, strideY, fcn ): apply a unary function accepting and returning single-precision floating-point numbers to each element in a single-precision floating-point strided input array according to a corresponding element in a strided mask array and assign each result to an element in 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.
  • 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 ) );