Complex128

Double-precision complex floating-point number functions.

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 ) );
Did you find this page helpful?