ComplexNumber Structure

Represents a complex number.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.138 -- Release Build+88ca978c0cce6d0d3e501e198adb13956063f519
public struct ComplexNumber : INumberBase<ComplexNumber>, 
	IEquatable<ComplexNumber>, IFormattable, IParsable<ComplexNumber>, 
	ISpanFormattable, ISpanParsable<ComplexNumber>, IUtf8SpanFormattable, IUtf8SpanParsable<ComplexNumber>, 
	IAdditionOperators<ComplexNumber, ComplexNumber, ComplexNumber>, IAdditiveIdentity<ComplexNumber, ComplexNumber>, 
	IDecrementOperators<ComplexNumber>, IDivisionOperators<ComplexNumber, ComplexNumber, ComplexNumber>, 
	IEqualityOperators<ComplexNumber, ComplexNumber, bool>, IIncrementOperators<ComplexNumber>, 
	IMultiplicativeIdentity<ComplexNumber, ComplexNumber>, IMultiplyOperators<ComplexNumber, ComplexNumber, ComplexNumber>, 
	ISubtractionOperators<ComplexNumber, ComplexNumber, ComplexNumber>, IUnaryNegationOperators<ComplexNumber, ComplexNumber>, 
	IUnaryPlusOperators<ComplexNumber, ComplexNumber>, IComparisonOperators<ComplexNumber, ComplexNumber, bool>
Inheritance
Object    ValueType    ComplexNumber
Implements
IEquatableComplexNumber, IFormattable, IParsableComplexNumber, ISpanFormattable, ISpanParsableComplexNumber, IUtf8SpanFormattable, IUtf8SpanParsableComplexNumber, IAdditionOperatorsComplexNumber, ComplexNumber, ComplexNumber, IAdditiveIdentityComplexNumber, ComplexNumber, IComparisonOperatorsComplexNumber, ComplexNumber, Boolean, IDecrementOperatorsComplexNumber, IDivisionOperatorsComplexNumber, ComplexNumber, ComplexNumber, IEqualityOperatorsComplexNumber, ComplexNumber, Boolean, IIncrementOperatorsComplexNumber, IMultiplicativeIdentityComplexNumber, ComplexNumber, IMultiplyOperatorsComplexNumber, ComplexNumber, ComplexNumber, INumberBaseComplexNumber, ISubtractionOperatorsComplexNumber, ComplexNumber, ComplexNumber, IUnaryNegationOperatorsComplexNumber, ComplexNumber, IUnaryPlusOperatorsComplexNumber, ComplexNumber

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

AdditiveIdentity 
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.
MultiplicativeIdentity 
NoneAssigned Gets a boolean value indicating if each composite value of the ComplexNumber (i.e., real and imaginary) has not been assigned a value.
One 
Radix 
Real Gets or sets the real component of this ComplexNumber.
Zero 

Methods

Abs 
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)
IsCanonical 
IsComplexNumber 
IsEvenInteger 
IsFinite 
IsImaginaryNumber 
IsInfinity 
IsInteger 
IsNaN 
IsNegative 
IsNegativeInfinity 
IsNormal 
IsOddInteger 
IsPositive 
IsPositiveInfinity 
IsRealNumber 
IsSubnormal 
IsZero 
MaxMagnitude 
MaxMagnitudeNumber 
MinMagnitude 
MinMagnitudeNumber 
Parse(String) Converts the string representation of a complex number to its complex number equivalent.
Parse(ReadOnlySpanChar, IFormatProvider) 
Parse(String, IFormatProvider) 
Parse(ReadOnlySpanChar, NumberStyles, IFormatProvider) 
Parse(String, NumberStyles, IFormatProvider) 
Pow Returns specified ComplexNumber raised to the specified power.
ToString Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString)
ToString(String, IFormatProvider) 
TryConvertFromCheckedTOther 
TryConvertFromSaturatingTOther 
TryConvertFromTruncatingTOther 
TryConvertToCheckedTOther 
TryConvertToSaturatingTOther 
TryConvertToTruncatingTOther 
TryFormat 
TryParse(ReadOnlySpanChar, IFormatProvider, ComplexNumber) 
TryParse(String, IFormatProvider, ComplexNumber) 
TryParse(ReadOnlySpanChar, NumberStyles, IFormatProvider, ComplexNumber) 
TryParse(String, NumberStyles, IFormatProvider, ComplexNumber) 

Operators

Addition(ComplexNumber, ComplexNumber) Returns computed sum of values.
Decrement(ComplexNumber) 
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.
GreaterThan(ComplexNumber, ComplexNumber) 
GreaterThanOrEqual(ComplexNumber, ComplexNumber) 
(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.
Increment(ComplexNumber) 
Inequality(ComplexNumber, ComplexNumber) Compares the two values for inequality.
LessThan(ComplexNumber, ComplexNumber) 
LessThanOrEqual(ComplexNumber, ComplexNumber) 
Multiply(ComplexNumber, ComplexNumber) Returns computed product of values.
Subtraction(ComplexNumber, ComplexNumber) Returns computed difference of values.
UnaryNegation(ComplexNumber) Returns the negated value.
UnaryPlus(ComplexNumber) 

See Also