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.
 
ImaginaryOne 
Gets a Complex value of i.
 
Magnitude 
Gets the magnitude of the complex number.
 
MagnitudeSquared 
Gets the square of the magnitude of the complex number.
 
One 
Gets a Complex value of 1.
 
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.
 
Acos 
Calculates the arc cosine of the input value.
 
Acosh 
Calculates the inverse hyperbolic
cosine of a value.
 
Add 
Adds two complex numbers and returns the result.
 
Conjugate 
Computes the conjugate for a complex number and returns the result.
 
Cos 
Calculates the cosine of the input complex value.
 
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.)  
Log 
Calculates the complex natural logarithm of the input value.
 
Multiply 
Returns the product of two complex numbers.
 
Pow 
Calculates the complex square root of the input value.
 
Sign 
Returns the sign of a complex value
as either a 1 or +1. In the case of zero
this function returns zero.
 
Sqrt 
Calculates the complex square root of the input value.
 
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.
