.NET Matrix Library
Complex Structure Members
See Also  Fields  Properties  Methods  Send comments on this topic


The following tables list the members exposed by Complex.

Public Constructors

 NameDescription
public ConstructorComplex ConstructorOverloaded. Initializes a new instance of the complex structure setting both its real and imaginary part to zero.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)OneA constant representing a complex number equal to 1.  
public Fieldstatic (Shared in Visual Basic)ZeroA constant representing a complex number equal to zero.  
Top

Public Properties

 NameDescription
public PropertyImagThe imaginary part of the complex number.  
public PropertyRealThe real part of the complex number.  
Top

Public Methods

 NameDescription
public MethodAbsOverloaded. Returns the absolute value of the current complex number.  
public Methodstatic (Shared in Visual Basic)AddOverloaded. Returns the sum of complex number with a real number.  
public MethodConjugateOverloaded. Returns the conjugate of this complex number.  
public Methodstatic (Shared in Visual Basic)CosReturns the cosine of a complex number.  
public Methodstatic (Shared in Visual Basic)CoshReturns the hyperbolic cosine of a complex number  
public Methodstatic (Shared in Visual Basic)DivideOverloaded. Divides a real number by a complex number.  
public MethodEqualsOverloaded. Indicates whether this instance of the complex structure and the specified complex are equal.  
public Methodstatic (Shared in Visual Basic)FromDoubleConverts a double real number to a complex structure.  
public MethodGetHashCodeReturns the hash code for this instance  
public Methodstatic (Shared in Visual Basic)IsInfinityReturns a value indicating whether the specified complex number evaluates to an infinity value.  
public Methodstatic (Shared in Visual Basic)IsNaNReturns a value indicating whether the specified complex number evaluates to a value that is not a number.  
public Methodstatic (Shared in Visual Basic)MultiplyOverloaded. Multiplies a complex number by a real number.  
public Methodstatic (Shared in Visual Basic)NegateNegates a complex number.  
public Methodstatic (Shared in Visual Basic)PlusReturns the value of the complex number.  
public MethodReciprocalOverloaded. Returns the reciprocal of the complex number.  
public Methodstatic (Shared in Visual Basic)SinReturns the sine of a complex number.  
public Methodstatic (Shared in Visual Basic)SinhReturns the hyperbolic sine of a complex number.  
public MethodSqrtOverloaded. Returns the square root of the current complex number.  
public Methodstatic (Shared in Visual Basic)SubtractOverloaded. Subtracts a complex number from a real number.  
public MethodToStringOverloaded. Returns a string representing the complex number.  
Top

Public Operators

public Operator Addition Overloaded. Returns the sum of a real number and a complex.
public Operator Division Overloaded. Divides a complex number by a real number.
public Operator Equality Tests whether two complex numbers are equal.
public Operator Implicit Type Conversion Overloaded. Converts a double to its equivalent complex.
public Operator Inequality Tests whether two complex structures are not equal.
public Operator Multiplication Overloaded. Multiplies a real number by a complex.
public Operator Subtraction Overloaded. Subtracts a complex number from a real number.
public Operator Unary Negation Negates a complex number.
public Operator Unary Plus Returns the value of the complex number.
Top

See Also

.NET Matrix Library Documentation