|
|
||
|---|---|---|
| .. | ||
| absolute-difference | ||
| docs/types | ||
| float64-epsilon-difference | ||
| lib | ||
| relative-difference | ||
| package.json | ||
| README.md | ||
Utils
Standard library basic mathematical utilities.
Usage
var utils = require( '@stdlib/math/base/utils' );
utils
Standard library basic mathematical 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 ) );