TSCplx Record

Source: Math387.cs · Assembly: Dew.Math

public struct TSCplx

Default complex number type used by Math387.

Default complex number type used by Math387.

Methods

NameDescription
CompareLexicographic compare of two TSCplx values.
CompareToIComparable.CompareTo - see Dew.Math.TSCplx.Compare.
EqualsTrue if AObject equals this complex value.
FromObjectBuilds a TSCplx from a boxed object.
GetHashCodeHash of the complex value, derived from Re and Im.
GetTypeCodeIConvertible - returns the type code for TSCplx.
IsComplexTrue if the imaginary part is non-zero.
ToBooleanIConvertible - converts the real part to Boolean.
ToByteIConvertible - converts the real part to Byte.
ToCharIConvertible - converts the real part to Char.
ToDateTimeIConvertible - converts the real part to DateTime.
ToDecimalIConvertible - converts the real part to Decimal.
ToDoubleIConvertible - returns the real part as Double.
ToInt16IConvertible - converts the real part to Int16.
ToInt32IConvertible - converts the real part to Int32.
ToInt64IConvertible - converts the real part to Int64.
ToSByteIConvertible - converts the real part to SByte.
ToSingleIConvertible - returns the real part as Single.
ToStringIConvertible - formats the value as a string using the supplied provider.
ToTypeIConvertible - converts to an arbitrary System.Type via the provider.
ToUInt16IConvertible - converts the real part to UInt16 (Word).
ToUInt32IConvertible - converts the real part to UInt32 (LongWord).
ToUInt64IConvertible - converts the real part to UInt64.

Operators

NameDescription
op_Addition (3)Add operator for TSCplx types.
op_Division (3)Divide operator for TSCplx types.
op_Equality (3)Equal operator for TSCplx types.
op_Explicit (9)Explicit conversion of TCplx (double) to TSCplx (single).
op_GreaterThan (3)Greater than operator for TSCplx types.
op_GreaterThanOrEqual (3)Greater than or equal operator for TSCplx types.
op_ImplicitImplicit conversion of a parsable string to a TSCplx value.
op_Inequality (3)Not equal operator for TSCplx types.
op_LessThan (3)Less than operator for TSCplx types.
op_LessThanOrEqual (3)Less than or equal operator for TSCplx types.
op_Multiply (3)Multiply operator for TSCplx types.
op_RoundRounds Re and Im to the nearest integer (banker's rounding).
op_Subtraction (3)Subtract operator for TSCplx types.
op_TruncTruncates Re and Im toward zero.
op_UnaryNegationUnary negate operator for TSCplx types.