ComplexNumber Structure

Represents a complex number.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.128 -- Release Build+8719af24b83815a59535b3885622cedd021e9c5b
public struct ComplexNumber : IEquatable<ComplexNumber>
Inheritance
Object    ValueType    ComplexNumber
Implements
IEquatableComplexNumber

Constructors

ComplexNumber(ComplexNumber) Creates a ComplexNumber from the given ComplexNumber.
ComplexNumber(Angle, Double) Creates a ComplexNumber from the given polar values.
ComplexNumber(Double, Double) Creates a ComplexNumber from the given rectangular values.

Properties

AllAssigned Gets a boolean value indicating if each composite value of the ComplexNumber (i.e., real and imaginary) has been assigned a value.
Angle Gets or sets the Angle (a.k.a. the argument) in radians of this ComplexNumber.
Conjugate Gets the complex conjugate of this ComplexNumber.
Imaginary Gets or sets the imaginary component of this ComplexNumber.
Magnitude Gets or sets the magnitude (a.k.a. the modulus or absolute value) of this ComplexNumber.
NoneAssigned Gets a boolean value indicating if each composite value of the ComplexNumber (i.e., real and imaginary) has not been assigned a value.
Real Gets or sets the real component of this ComplexNumber.

Methods

Equals(ComplexNumber) Returns a value indicating whether this instance is equal to a specified ComplexNumber value.
Equals(Object) Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object))
GetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse Converts the string representation of a complex number to its complex number equivalent.
Pow Returns specified ComplexNumber raised to the specified power.
ToString Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString)

Operators

Addition(ComplexNumber, ComplexNumber) Returns computed sum of values.
Division(ComplexNumber, ComplexNumber) Returns computed division of values.
Equality(ComplexNumber, ComplexNumber) Compares the two values for equality.
Exponent(ComplexNumber, Double) Returns result of first value raised to power of second value.
(Complex to ComplexNumber) Implicitly converts a .NET Complex value to a ComplexNumber.
(ComplexNumber to Complex) Implicitly converts a ComplexNumber to a .NET Complex value.
(Double to ComplexNumber) Implicitly converts a Double to a ComplexNumber.
Inequality(ComplexNumber, ComplexNumber) Compares the two values for inequality.
Multiply(ComplexNumber, ComplexNumber) Returns computed product of values.
Subtraction(ComplexNumber, ComplexNumber) Returns computed difference of values.
UnaryNegation(ComplexNumber) Returns the negated value.

See Also