@stdlib/complex-float64
v0.3.0
Published
Double-precision complex number functions.
Downloads
1,596,325
Readme
Complex128
Double-precision complex floating-point number functions.
Installation
npm install @stdlib/complex-float64
Usage
var complex = require( '@stdlib/complex-float64' );
complex
Namespace containing double-precision complex floating-point number functions.
var ns = complex;
// returns {...}
The namespace contains the following sub-namespaces:
base
: base (i.e., lower-level) double-precision complex floating-point number functions.
The namespace contains the following functions:
conj( z )
: return the complex conjugate of a double-precision complex floating-point number.Complex128( real, imag )
: 128-bit complex number.imag( z )
: return the imaginary component of a double-precision complex floating-point number.parseComplex128( str )
: parse a string representation of a 128-bit complex number.real( z )
: return the real component of a double-precision complex floating-point number.reim( z )
: return the real and imaginary components of a double-precision complex floating-point number.reviveComplex128( key, value )
: revive a JSON-serialized 128-bit complex number.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/complex-float64' );
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.