ILNumerics Ultimate VScomplex StructureILNumerics Ultimate VS Documentation
ILNumerics - The Productivity Machine
Floating point complex value data type of double precision

[ILNumerics Core Module]

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 4.14.0.0 (4.14.6369.1422)
Syntax

[SerializableAttribute]
public struct complex : IEquatable<complex>

The complex type exposes the following members.

Constructors

  NameDescription
Public methodcomplex
Constructor creating a new complex value

[ILNumerics Core Module]

Top
Properties

  NameDescription
Public propertyconj
Complex conjugate

[ILNumerics Core Module]

Public propertyStatic memberINF Obsolete.
Positive infinity for real and imag part of complex value

[ILNumerics Core Module]

Public propertyStatic memberNaN
Complex quantity, marked as being "not a number"

[ILNumerics Core Module]

Public propertyStatic memberPositiveInfinity
Positive infinity for real and imag part of complex value

[ILNumerics Core Module]

Public propertyStatic memberZero
New complex, real and imaginary parts are zero

[ILNumerics Core Module]

Top
Methods

  NameDescription
Public methodAbs
Magnitude of this complex instance

[ILNumerics Core Module]

Public methodStatic memberAbs(complex)
Absolute value of input

[ILNumerics Core Module]

Public methodAcos
Arcus cosinus of this complex instance

[ILNumerics Core Module]

Public methodStatic memberAcos(Double)
Arcus cosinus of input

[ILNumerics Core Module]

Public methodStatic memberAcos(complex)
Arcus cosinus of complex input

[ILNumerics Core Module]

Public methodAngle
Phase of this complex instance

[ILNumerics Core Module]

Public methodStatic memberAngle(complex)
Phase angle of complex number

[ILNumerics Core Module]

Public methodAsin
Arcus sinus of this complex instance

[ILNumerics Core Module]

Public methodStatic memberAsin(Double)
Arcus sinus of complex input

[ILNumerics Core Module]

Public methodStatic memberAsin(complex)
Arcus sinus of input

[ILNumerics Core Module]

Public methodStatic memberAtan
Arcus tangens of complex input

[ILNumerics Core Module]

Public methodStatic memberCeiling
Round towards positive infinity

[ILNumerics Core Module]

Public methodStatic memberCos
Cosinus

[ILNumerics Core Module]

Public methodStatic memberCosh
Cosinus hyperbolicus

[ILNumerics Core Module]

Public methodEquals(Object)
Are obj's real and imaginary part identical to the real and imaginary parts of this fcomplex

[ILNumerics Core Module]

(Overrides ValueTypeEquals(Object).)
Public methodEquals(complex)
Check if a complex number equals this complex number

[ILNumerics Core Module]

Public methodExp
Exponential / power of base e

[ILNumerics Core Module]

Public methodStatic memberExp(complex)
Complex exponent

[ILNumerics Core Module]

Public methodStatic memberFloor
Round towards negative infinity

[ILNumerics Core Module]

Public methodStatic memberFromPol
Convert polar notation into cartesian notation

[ILNumerics Core Module]

Public methodGetHashCode
Hash code of this comples

[ILNumerics Core Module]

(Overrides ValueTypeGetHashCode.)
Public methodStatic memberIsFinite
Test if any of real or imaginary parts are finite

[ILNumerics Core Module]

Public methodStatic memberIsInfinity
Test if any of real or imaginary parts are infinite

[ILNumerics Core Module]

Public methodStatic memberIsNaN
Test if any of real or imaginary parts are NAN's

[ILNumerics Core Module]

Public methodStatic memberIsNegativeInfinity
Test if any of real or imaginary parts are neg. infinite

[ILNumerics Core Module]

Public methodStatic memberIsPositiveInfinity
Test if any of real or imaginary parts are pos.nfinite

[ILNumerics Core Module]

Public methodiszero
Test if both of real or imaginary parts are 0

[ILNumerics Core Module]

Public methodLog
Logarithm of base e

[ILNumerics Core Module]

Public methodStatic memberLog(Double)
Logarithm of real input

[ILNumerics Core Module]

Public methodStatic memberLog(complex)
Complex logarithm

[ILNumerics Core Module]

Public methodStatic memberLog10(Double)
Logarithm of base 10 of real input

[ILNumerics Core Module]

Public methodStatic memberLog10(complex)
Logarithm of base 10

[ILNumerics Core Module]

Public methodStatic memberLog2(Double)
Logarithm of base 2 of real input

[ILNumerics Core Module]

Public methodStatic memberLog2(complex)
Logarithm of base 2

[ILNumerics Core Module]

Public methodPow(Double)
Complex power real exponent

[ILNumerics Core Module]

Public methodPow(complex)
Complex power - complex exponent

[ILNumerics Core Module]

Public methodStatic memberPow(Double, Double)
Complex power - real basis, real exponent

[ILNumerics Core Module]

Public methodStatic memberPow(complex, complex)
Complex power - complex exponent

[ILNumerics Core Module]

Public methodStatic memberPow(complex, Double)
Complex power for real exponent

[ILNumerics Core Module]

Public methodStatic memberRound
Rounds towards nearest integer

[ILNumerics Core Module]

Public methodStatic memberSign
Signum function

[ILNumerics Core Module]

Public methodStatic memberSin
Sinus

[ILNumerics Core Module]

Public methodStatic memberSinh
Sinus hyperbolicus

[ILNumerics Core Module]

Public methodSqrt
Square root of this complex value

[ILNumerics Core Module]

Public methodStatic memberSqrt(Double)
Square root

[ILNumerics Core Module]

Public methodStatic memberSqrt(complex)
Square root

[ILNumerics Core Module]

Public methodStatic memberTan
Tangens

[ILNumerics Core Module]

Public methodStatic memberTanh
Tangens hyperbolicus

[ILNumerics Core Module]

Public methodToString
Convert to string

[ILNumerics Core Module]

(Overrides ValueTypeToString.)
Public methodToString(Int32)
Print formated output of this number, determine number of digits

[ILNumerics Core Module]

Public methodStatic memberTruncate
Truncate a floating point complex value

[ILNumerics Core Module]

Top
Operators

  NameDescription
Public operatorStatic memberAddition(Byte, complex)
Add two complex values

[ILNumerics Core Module]

Public operatorStatic memberAddition(Double, complex)
Add two complex values

[ILNumerics Core Module]

Public operatorStatic memberAddition(Int32, complex)
Add two complex values

[ILNumerics Core Module]

Public operatorStatic memberAddition(Int64, complex)
Add two complex values

[ILNumerics Core Module]

Public operatorStatic memberAddition(Single, complex)
Add two complex values

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, complex)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, fcomplex)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, Byte)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, Double)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, Int32)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, Int64)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberAddition(complex, Single)
Add two complex numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(Byte, complex)
Divide two values

[ILNumerics Core Module]

Public operatorStatic memberDivision(Double, complex)
Divide two values

[ILNumerics Core Module]

Public operatorStatic memberDivision(Int32, complex)
Divide two values

[ILNumerics Core Module]

Public operatorStatic memberDivision(Int64, complex)
Divide two values

[ILNumerics Core Module]

Public operatorStatic memberDivision(Single, complex)
Divide two values

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, complex)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, fcomplex)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, Byte)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, Double)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, Int32)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, Int64)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberDivision(complex, Single)
Divide two numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(Byte, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(Double, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(Int32, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(Int64, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(Single, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, complex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, fcomplex)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, Byte)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, Double)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, Int32)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, Int64)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberEquality(complex, Single)
Equality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic member(complex to Double)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic member(complex to Single)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic member(complex to fcomplex)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic member(complex to Byte)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic member(complex to Int32)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic member(complex to Int64)
Cast value from complex number

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(Byte, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(Double, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(Int32, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(Int64, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(Single, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, complex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, fcomplex)
Greater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, Byte)
Freater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, Double)
Freater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, Int32)
Freater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, Int64)
Freater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThan(complex, Single)
Freater than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(Byte, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(Double, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(Int32, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(Int64, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(Single, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, complex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, fcomplex)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, Byte)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, Double)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, Int32)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, Int64)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberGreaterThanOrEqual(complex, Single)
Greater than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic member(Byte to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic member(Double to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic member(Int32 to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic member(Int64 to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic member(Complex to complex)
Implicitly converts a System.Numerics.Complex type to an ILNumerics.complex.

[ILNumerics Core Module]

Public operatorStatic member(Single to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic member(fcomplex to complex)
Cast value to complex number

[ILNumerics Core Module]

Public operatorStatic memberInequality(Byte, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(Double, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(Int32, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(Int64, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(Single, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, complex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, fcomplex)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, Byte)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, Double)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, Int32)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, Int64)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberInequality(complex, Single)
Unequality comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(Byte, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(Double, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(Int32, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(Int64, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(Single, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, complex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, fcomplex)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, Byte)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, Double)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, Int32)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, Int64)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThan(complex, Single)
Lower than comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(Byte, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(Double, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(Int32, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(Int64, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(Single, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, complex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, fcomplex)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, Byte)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, Double)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, Int32)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, Int64)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberLessThanOrEqual(complex, Single)
Lower than or equal to comparison for complex numbers

[ILNumerics Core Module]

Public operatorStatic memberMultiply(Byte, complex)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(Double, complex)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(Int32, complex)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(Int64, complex)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(Single, complex)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, complex)
Multiply two complex values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, fcomplex)
Multiply two complex values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, Byte)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, Double)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, Int32)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, Int64)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberMultiply(complex, Single)
Multiply two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(Byte, complex)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(Double, complex)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(Int32, complex)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(Int64, complex)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(Single, complex)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, complex)
Subtract two complex values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, fcomplex)
Subtract two complex values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, Byte)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, Double)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, Int32)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, Int64)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberSubtraction(complex, Single)
Subtract two values

[ILNumerics Core Module]

Public operatorStatic memberUnaryNegation
Unary minus operator

[ILNumerics Core Module]

Top
Fields

  NameDescription
Public fieldStatic memberi
Imaginary unit
Public fieldimag
Imaginary part of this complex number
Public fieldreal
Real part of this complex number
Top
Remarks

This class extends the system value types for real numbers to complex double values. Besides the publicly available members 'real' and 'imag' it provides all the basis functionality the floating point system.double brings (abs, log, sqrt, tan etc.), as well as it overrides the basic unary and binary operators for all common system value types including rarely used types (e.g. UInt16). This includes the basic numerical operations like '+','-','/','*' and the relational operators: '==','>','>=' etc. Also there are some explicit and some implicit casting operators from / to complex value into system value types.

[ILNumerics Core Module]

See Also

Reference