@stdlib/complex-base
v0.3.0
Published
Base (i.e., lower-level) complex number functions.
Downloads
2
Readme
Base Complex
Base (i.e., lower-level) complex number functions.
Installation
npm install @stdlib/complex-base
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 ) );
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.