[Home] Module Microsoft.FSharp.Math.Complex


Values

ValueDescription
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 cos : Complex -> Complex
Cosine
val div : complex -> complex -> complex
Complex division of two complex numbers
val exp : Complex -> Complex
exp(x) = e^x
val imagPart : complex -> float
The imaginary part of a complex number
val log : Complex -> Complex
log(x) is natural log (base e)
val magnitude : 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<complex>
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 pi : Complex
pi
val realPart : complex -> float
The real part of a complex number
val sin : Complex -> Complex
Sine
val smul : float -> complex -> complex
Multiply a scalar by a complex number
val sqrt : Complex -> Complex
sqrt(x) and 0 <= phase(x) < pi
val sub : complex -> complex -> complex
Subtract one complex number from another
val tan : Complex -> Complex
Tagent
val zero : complex
The complex number 0+0i

See Also

Microsoft.FSharp.Math


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19