public struct TCplx
Default complex number type used by Math387.
Default complex number type used by Math387.
Methods
| Name | Description |
|---|---|
| Compare | Lexicographic compare of two TCplx values. |
| CompareTo | IComparable.CompareTo - see Dew.Math.TCplx.Compare. |
| Equals | True if AObject equals this complex value. |
| FromObject | Builds a TCplx from a boxed object. |
| GetHashCode | Hash of the complex value, derived from Re and Im. |
| GetTypeCode | IConvertible - returns the type code for TCplx. |
| IsComplex | True if the imaginary part is non-zero. |
| ToBoolean | IConvertible - converts the real part to Boolean. |
| ToByte | IConvertible - converts the real part to Byte. |
| ToChar | IConvertible - converts the real part to Char. |
| ToDateTime | IConvertible - converts the real part to DateTime. |
| ToDecimal | IConvertible - converts the real part to Decimal. |
| ToDouble | IConvertible - returns the real part as Double. |
| ToInt16 | IConvertible - converts the real part to Int16. |
| ToInt32 | IConvertible - converts the real part to Int32. |
| ToInt64 | IConvertible - converts the real part to Int64. |
| ToSByte | IConvertible - converts the real part to SByte. |
| ToSingle | IConvertible - returns the real part as Single. |
| ToString | IConvertible - formats the value as a string using the supplied provider. |
| ToType | IConvertible - converts to an arbitrary System.Type via the provider. |
| ToUInt16 | IConvertible - converts the real part to UInt16 (Word). |
| ToUInt32 | IConvertible - converts the real part to UInt32 (LongWord). |
| ToUInt64 | IConvertible - converts the real part to UInt64. |
Operators
| Name | Description |
|---|---|
| op_Addition (3) | Add operator for TCplx types. |
| op_Division (3) | Divide operator for TCplx types. |
| op_Equality (3) | Equal operator for TCplx types. |
| op_Explicit (7) | Explicit conversion of TCplx to Double - imaginary part is ignored. |
| op_GreaterThan (3) | Greater than operator for TCplx types. |
| op_GreaterThanOrEqual (3) | Greater than or equal operator for TCplx types. |
| op_Implicit | Implicit conversion of a parsable string to a TCplx value. |
| op_Inequality (3) | Not equal operator for TCplx types. |
| op_LessThan (3) | Less than operator for TCplx types. |
| op_LessThanOrEqual (3) | Less than or equal operator for TCplx types. |
| op_Multiply (3) | Multiply operator for TCplx types. |
| op_Round | Rounds Re and Im to the nearest integer (banker's rounding). |
| op_Subtraction (3) | Subtract operator for TCplx types. |
| op_Trunc | Truncates Re and Im toward zero. |
| op_UnaryNegation | Unary negate operator for TCplx types. |