This documentation is compiled for the latest release of Mathos Core Library
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Top
Note: This API is now obsolete.
The Complex Number type makes it possible to store numbers in form of a + bi, where a,b are real numbers and i is sqrt(-1).
The real part of the number is stored as a decimal.
Namespace: Mathos.Arithmetic.ComplexNumbers
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The ComplexNumber type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ComplexNumber(Decimal) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Double) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Int64) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Complex) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(String) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Decimal, Decimal) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Double, Double) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Int32, Int32) | Initializes a new instance of the ComplexNumber class | |
| ComplexNumber(Fraction, Fraction) | Initializes a new instance of the ComplexNumber class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Overrides ValueTypeEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FromPolar | ||
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Overrides ValueTypeToString.) |
Operators
Extension Methods
| Name | Description | |
|---|---|---|
| From(Enum) | Overloaded. (Defined by Converter.) | |
| From(Base) | Overloaded. (Defined by Converter.) |
Properties
| Name | Description | |
|---|---|---|
| Argument | ||
| Conjugate | ||
| I | ||
| ImaginaryPart | ||
| IsPureImaginary | ||
| IsReal | ||
| Modulus | ||
| One | ||
| RealPart |
See Also