Base Complex
Base (i.e., lower-level) complex number functions.
Usage
var complex = require( '@stdlib/complex/base' );
complex
Namespace containing "base" (i.e., lower-level) complex number functions.
var ns = complex;
// returns {...}
The namespace contains the following functions:
cast( fcn, nargs, ctor )
: wrap a function and cast a function's return value to a complex number.wrap( fcn, nargs, ctor )
: wrap a function accepting complex number arguments to support providing both real and complex numbers.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/complex/base' );
console.log( objectKeys( ns ) );