Complex Structure 
Namespace: AGI.Foundation.Coordinates
The Complex type exposes the following members.
Name  Description  

Complex(Double) 
Initializes a new instance with only the real component. The imaginary component defaults to 0.
 
Complex(Double, Double) 
Initializes a new instance with real and imaginary components.

Name  Description  

Imaginary 
Gets the imaginary component of the complex number.
 
Magnitude 
Gets the magnitude of the complex number.
 
Phase 
Gets the phase of the complex number.
 
Real 
Gets the real component of the complex number.

Name  Description  

Abs 
Compute the absolute value and returns the result.
 
Add 
Adds two complex numbers and returns the result.
 
Conjugate 
Computes the conjugate for a complex number and returns the result.
 
Divide 
Divides one complex number by another and returns the result.
 
Equals(Object) 
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)  
Equals(Complex) 
Indicates whether another instance of this type is exactly equal to this instance.
 
Exp 
Returns e raised to the specified power.
 
GetHashCode 
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)  
GetType  Gets the type of the current instance. (Inherited from Object.)  
Multiply 
Returns the product of two complex numbers.
 
Subtract 
Subtracts two complex numbers and returns the result.
 
ToString 
Returns a string which represents the complex number.
(Overrides ValueTypeToString.) 
Name  Description  

Addition 
Adds two complex numbers and returns the result.
 
Division(Complex, Complex) 
Divides one complex number by another and returns the result.
 
Division(Complex, Double) 
Divides one complex number by a scalar and returns the result.
 
Equality 
Returns if the two instances are exactly equal.
 
(Double to Complex) 
Implicit conversion from double to complex number.
 
Inequality 
Returns if the two instances are not exactly equal.
 
Multiply 
Returns the product of two complex numbers.
 
Subtraction 
Subtracts two complex numbers and returns the result.
 
UnaryNegation 
Negates the Complex value.
