@stdlib/complex-float64-base
v0.2.1
Published
Base (i.e., lower-level) double-precision complex number functions.
Readme
Complex128
Base (i.e., lower-level) double-precision complex floating-point number functions.
Installation
npm install @stdlib/complex-float64-baseUsage
var complex = require( '@stdlib/complex-float64-base' );complex
Namespace containing base (i.e., lower-level) double-precision complex floating-point number functions.
var ns = complex;
// returns {...}The namespace contains the following sub-namespaces:
assert: base (i.e., lower-level) double-precision complex floating-point number assertion functions.
The namespace contains the following functions:
add( z1, z2 ): add two double-precision complex floating-point numbers.add3( z1, z2, z3 ): compute the sum of three double-precision complex floating-point numbers.div( z1, z2 ): divide two double-precision complex floating-point numbers.identity( z ): evaluate the identity function of a double-precision complex floating-point number.muladd( alpha, x, y ): perform a multiply-add operation involving three double-precision complex floating-point numbers.mul( z1, z2 ): multiply two double-precision complex floating-point numbers.neg( z ): negate a double-precision complex floating-point number.scale( alpha, z ): scale a double-precision complex floating-point number by a real-valued double-precision floating-point scalar constant.sub( z1, z2 ): subtract two double-precision complex floating-point numbers.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/complex-float64-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-2026. The Stdlib Authors.
