| Value | Description |
val add : complex -> complex -> complex |
Add two complex numbers
|
val cis : float -> complex |
A complex of magnitude 1 and the given phase and , i.e. cis x = mkPolar 1.0 x
|
val conjugate : complex -> complex |
The conjugate of a complex number, i.e. x-yi
|
val div : complex -> complex -> complex |
Complex division of two complex numbers
|
val imagPart : complex -> float |
The imaginary part of a complex number
|
val magntitude : complex -> float |
The polar-coordinate magnitude of a complex number
|
val mkPolar : float * float -> complex |
Create a complex number using magnitude/phase polar coordinates
|
val mkRect : float * float -> complex | |
val mul : complex -> complex -> complex |
Multiply two complex numbers
|
val muls : complex -> float -> complex |
Multiply a complex number by a scalar
|
val neg : complex -> complex |
Unary negation of a complex number
|
val Numerics : IFractional |
An abstract representation of the numeric operations
supported by this type.
|
val one : complex |
The complex number 1+0i
|
val onei : complex |
The complex number 0+1i
|
val phase : complex -> float |
The polar-coordinate phase of a complex number
|
val realPart : complex -> float |
The real part of a complex number
|
val smul : float -> complex -> complex |
Multiply a scalar by a complex number
|
val sub : complex -> complex -> complex |
Subtract one complex number from another
|
val zero : complex |
The complex number 0+0i
|