[Home] Type Microsoft.FSharp.Math.Types.Complex


The type of complex numbers stored as pairs of 64-bit floating point numbers in rectangular coordinates

Full Type Signature

type Complex
  with
    interface IFormattable
    static member ( ~- ) : Complex -> Complex
    static member ( - ) : Complex * Complex -> Complex
    static member ( *$ ) : Complex * float -> Complex
    static member ( * ) : Complex * Complex -> Complex
    static member ( $* ) : float * Complex -> Complex
    static member ( / ) : Complex * Complex -> Complex
    static member ( + ) : Complex * Complex -> Complex
    member r : float with get
    member i : float with get
    static member Zero : Complex with get
    member RealPart : float with get
    member Phase : float with get
    static member OneI : Complex with get
    static member One : Complex with get
    member Magntitude : float with get
    member ImaginaryPart : float with get
    member Conjugate : Complex with get
    static member CreatePolar : float * float -> Complex
    static member Create : float * float -> Complex
  end

Instance Members

MemberDescription
member Conjugate : Complex with get
The conjugate of a complex number, i.e. x-yi
member i : float with get
The imaginary part of a complex number
member ImaginaryPart : float with get
The imaginary part of a complex number
member Magntitude : float with get
The polar-coordinate magnitude of a complex number
member Phase : float with get
The polar-coordinate phase of a complex number
member r : float with get
The real part of a complex number
member RealPart : float with get
The real part of a complex number

Static Members

MemberDescription
member Create : float * float -> Complex
Create a complex number x+ij using rectangular coordinates
member CreatePolar : float * float -> Complex
Create a complex number using magnitude/phase polar coordinates
member One : Complex with get
The complex number 1+0i
member OneI : Complex with get
The complex number 0+1i
member Zero : Complex with get
The complex number 0+0i
member ( + ) : Complex * Complex -> Complex
Add two complex numbers
member ( / ) : Complex * Complex -> Complex
Complex division of two complex numbers
member ( $* ) : float * Complex -> Complex
Multiply a scalar by a complex number
member ( * ) : Complex * Complex -> Complex
Multiply two complex numbers
member ( *$ ) : Complex * float -> Complex
Multiply a complex number by a scalar
member ( - ) : Complex * Complex -> Complex
Subtract one complex number from another
member ( ~- ) : Complex -> Complex
Unary negation of a complex number

See Also

Microsoft.FSharp.Math.Types


Documentation for assembly fslib, version 1.1.10.1, generated using F# version 1.1.10.1