Complex64
Base (i.e., lower-level) single-precision complex floating-point number functions.
Usage
var complex = require( '@stdlib/complex/float32/base' );
complex
Namespace containing base (i.e., lower-level) single-precision complex floating-point number functions.
var ns = complex; // returns {...}
The namespace contains the following sub-namespaces:
assert: base (i.e., lower-level) single-precision complex floating-point number assertion functions.
The namespace contains the following functions:
add( z1, z2 ): add two single-precision complex floating-point numbers.identity( z ): evaluate the identity function of a single-precision complex floating-point number.mul( z1, z2 ): multiply two single-precision complex floating-point numbers.neg( z ): negate a single-precision complex floating-point number.scale( alpha, c ): scale a single-precision complex floating-point number by a real-valued single-precision floating-point scalar constant.sub( z1, z2 ): subtract two single-precision complex floating-point numbers.
Examples
var objectKeys = require( '@stdlib/utils/keys' ); var ns = require( '@stdlib/complex/float32/base' ); console.log( objectKeys( ns ) );