Utils
Base math utilities.
Usage
var utils = require( '@stdlib/math/base/utils' );
utils
Namespace for "base" (i.e., lower-level) math utilities.
var o = utils;
// returns {...}
absdiff( x, y )
: compute the absolute difference of two real numbers.epsdiff( x, y[, scale] )
: compute the relative difference of two real numbers in units of double-precision floating-point epsilon.reldiff( x, y[, scale] )
: compute the relative difference of two real numbers.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var utils = require( '@stdlib/math/base/utils' );
console.log( objectKeys( utils ) );