Tools
Math iterator tools.
Usage
var ns = require( '@stdlib/math/iter/tools' );
ns
Namespace containing math iterator tools.
var o = ns;
// returns {...}
The namespace exposes the following functions:
map( iterator, fcn[, options] )
: create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.map2( iter0, iter1, fcn[, options] )
: create an iterator which invokes a binary function accepting numeric arguments for each iterated value.map3( iter0, iter1, iter2, fcn[, options] )
: create an iterator which invokes a ternary function accepting numeric arguments for each iterated value.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/math/iter/tools' );
console.log( objectKeys( ns ) );