Complex
|
public struct ComplexNumber : IEquatable<ComplexNumber>
The ComplexNumber type exposes the following members.
Name | Description | |
---|---|---|
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. |
Name | Description | |
---|---|---|
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. |
Name | Description | |
---|---|---|
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) | |
GetType | Gets 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) |
Name | Description | |
---|---|---|
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. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |