Complex Structure |
Namespace: FinMath
[SerializableAttribute] public struct Complex : IEquatable<Complex>, IFormattable
The Complex type exposes the following members.
| Name | Description | |
|---|---|---|
| Complex |
Initializes a new instance of the Complex structure using the specified real and imaginary values.
|
| Name | Description | |
|---|---|---|
| Imaginary |
Gets the imaginary component of the current Complex object.
| |
| Magnitude |
Gets the magnitude (or absolute value) of a complex number.
| |
| Phase |
Gets the phase of a complex number.
| |
| Real |
Gets the real component of the current Complex object.
|
| Name | Description | |
|---|---|---|
| Abs |
Gets the absolute value (or magnitude) of a complex number.
| |
| Acos |
Returns the angle that is the arc cosine of the specified complex number.
| |
| Add |
Adds two complex numbers.
| |
| Asin |
Returns the angle that is the arc sine of the specified complex number.
| |
| Atan |
Returns the angle that is the arc tangent of the specified complex number.
| |
| Conjugate |
Computes the conjugate of a complex number and returns the result.
| |
| Cos |
Returns the cosine of the specified complex number.
| |
| Cosh |
Returns the hyperbolic cosine of the specified complex number.
| |
| Divide |
Divides a specified complex number by another specified complex number.
| |
| Equals(Object) |
Indicates whether the current complex number is equal to another one.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Complex) |
Indicates whether the current complex number is equal to another one.
| |
| Exp |
Returns e raised to the power specified by a complex number.
| |
| FromPolarCoordinates |
Creates a complex number from a point's polar coordinates.
| |
| GetHashCode |
Returns the hash code for the current Complex object.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Log(Complex) |
Returns the natural (base E) logarithm of a specified complex number.
| |
| Log(Complex, Double) |
Returns the logarithm of a specified complex number in a specified base.
| |
| Log10 |
Returns the base-10 logarithm of a specified complex number.
| |
| Multiply |
Multiplies two specified complex numbers.
| |
| Negate |
Returns the additive inverse of a specified complex number.
| |
| Pow(Complex, Complex) |
Returns a specified complex number raised to a power specified by a
complex number.
| |
| Pow(Complex, Double) |
Returns a specified complex number raised to a power specified by a
double-precision floating-point number.
| |
| Reciprocal |
Returns the multiplicative inverse of a complex number.
| |
| Sin |
Returns the sine of the specified complex number.
| |
| Sinh |
Returns the hyperbolic sine of the specified complex number.
| |
| Sqrt |
Returns the square root of a specified complex number.
| |
| Subtract |
Subtracts a complex number from another complex number.
| |
| Tan |
Returns the tangent of the specified complex number.
| |
| Tanh |
Returns the hyperbolic tangent of the specified complex number.
| |
| ToString |
Converts the value of the current complex number to its
equivalent string representation in Cartesian form.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Converts the value of the current complex number to its
equivalent string representation in Cartesian form by using the
specified culture-specific formatting information.
| |
| ToString(String) |
Converts the value of the current complex number to its
equivalent string representation in Cartesian form by using the
specified format for its real and imaginary parts.
| |
| ToString(String, IFormatProvider) |
Formats the value of this complex number using the specified format.
|
| Name | Description | |
|---|---|---|
| Addition |
Adds two complex numbers.
| |
| Division |
Divides a specified complex number by another specified complex number.
| |
| Equality |
Returns a value that indicates whether two complex numbers are equal.
| |
| (Decimal to Complex) |
Defines an explicit conversion of a Decimal value to a complex number.
| |
| (Byte to Complex) |
Defines an implicit conversion of an unsigned byte to a complex number.
| |
| (Double to Complex) |
Defines an implicit conversion of a Double-precision floating-point
number to a complex number.
| |
| (Int16 to Complex) |
Defines an implicit conversion of a 16-bit signed integer to a complex number.
| |
| (Int32 to Complex) |
Defines an implicit conversion of a 32-bit signed integer to a complex number.
| |
| (Int64 to Complex) |
Defines an implicit conversion of a 64-bit signed integer to a complex number.
| |
| (SByte to Complex) |
Defines an implicit conversion of a signed byte to a complex number.
| |
| (Single to Complex) |
Defines an implicit conversion of a single-precision floating-point number to
a complex number.
| |
| (UInt16 to Complex) |
Defines an implicit conversion of a 16-bit unsigned integer to a complex number.
| |
| (UInt32 to Complex) |
Defines an implicit conversion of a 32-bit unsigned integer to a complex number.
| |
| (UInt64 to Complex) |
Defines an implicit conversion of a 64-bit unsigned integer to a complex number.
| |
| Inequality |
Returns a value that indicates whether two complex numbers are not equal.
| |
| Multiply |
Multiplies two specified complex numbers.
| |
| Subtraction |
Subtracts a complex number from another complex number.
| |
| UnaryNegation |
Returns the additive inverse of a specified complex number.
|
| Name | Description | |
|---|---|---|
| ImaginaryOne |
Returns a new Complex instance with a real number equal to zero and
an imaginary number equal to one.
| |
| One |
Returns a new Complex instance with a real number equal to one and an
imaginary number equal to zero.
| |
| Zero |
Returns a new Complex instance with a real number equal to zero and an
imaginary number equal to zero.
|