TComplex Class

Implements BaseEntry as a complex number.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.67.9018.0
C#
public sealed class TComplex : BaseEntry
Inheritance
Object    BaseEntry    TComplex

Constructors

TComplex(TComplex)Initializes a new instance of the TComplex class
TComplex(Double, Double)Initializes a new instance of the TComplex class
TComplex(TDouble, TDouble)Initializes a new instance of the TComplex class
TComplex(TInfinity, TInfinity)Initializes a new instance of the TComplex class

Properties

HasUnits Determines whether current instance of BaseEntry contains units or not.
(Inherited from BaseEntry)
IzZero Determines whether current instance of BaseEntry is equal to zero or not.
(Overrides BaseEntryIzZero)
Type Type of the BaseEntry which is implemented by a current instance of the object.
(Inherited from BaseEntry)
Units Unit of the expression component.
(Inherited from BaseEntry)

Methods

Abs Returns an absolute value of the current number.
ACos Returns Arccosine of the value.
ACosH Computes the inverse hyperbolic cotangent of a number.
ACot Returns Arccotangent of the value.
ACotH Computes the inverse hyperbolic cotangent of a number.
Arg 
Arg(Double, Double, Double, Double) 
ASin Returns Arcsine of the value.
ASinH Computes the inverse hyperbolic cotangent of a number.
ATan Returns Arctangent of the value.
ATan2 
ATanH Computes the inverse hyperbolic cotangent of a number.
Clone Copying of the expression component.
(Overrides BaseEntryClone)
Com Addition (composition) operation.
(Overrides BaseEntryCom(BaseEntry))
Cos Returns Cosine of the value.
(Overrides BaseEntryCos)
CosH 
Cot Returns Cotangent of the value.
(Overrides BaseEntryCot)
CotH 
Div Division operation.
(Overrides BaseEntryDiv(BaseEntry))
Equals
(Overrides ObjectEquals(Object))
GetHashCode
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Gt
(Inherited from BaseEntry)
Ln Returns a natural logarithm of a number.
Log Returns a logarithm by the given base, inverse of an exponential function.
Lt
(Inherited from BaseEntry)
Mul Multiplication operation.
(Overrides BaseEntryMul(BaseEntry))
pol2xy 
Pow Exponentiation operation.
(Overrides BaseEntryPow(BaseEntry))
Power(TComplex) 
Power(TDouble) 
Power(TFraction) 
Power(MItem, Double, Double, Double, Double, Double, Double, Double, Double, BaseEntry, Double, Double, Double, Double) 
Round(BaseEntry) Rounds a value to a specified number of fractional digits.
(Inherited from BaseEntry)
Round(BaseEntry, TDouble) Rounds a value to a specified number of fractional digits using the specified rounding convention.
(Inherited from BaseEntry)
Sin Returns Sine of the value.
(Overrides BaseEntrySin)
SinH 
Sub Subtraction operation.
(Overrides BaseEntrySub(BaseEntry))
Tan Returns Tangent of the value.
(Overrides BaseEntryTan)
TanH 
ToDouble Converts current expression component to Double value.
(Overrides BaseEntryToDouble)
ToString Converts math expression component to string.
(Inherited from BaseEntry)
ToString(IResultOptions) Converts math expression component to string with options.
(Overrides BaseEntryToString(IResultOptions))
ToString(Int32, Int32, FractionsType, Boolean) Converts math expression component to string with options.
(Inherited from BaseEntry)
Obsolete.
ToString(Int32, Int32, FractionsType, Boolean, Boolean, MidpointRounding) Converts math expression component to string with options.
(Inherited from BaseEntry)
Obsolete.
ToTerms Converts current expression component to the array of Term in reverse polish notation (RPN).
(Inherited from BaseEntry)
ToTerms(IResultOptions) Converts current expression component to the array of Term in reverse polish notation (RPN) with options.
(Inherited from BaseEntry)
ToTerms(Int32, Int32, FractionsType, Boolean) Converts current expression component to the array of Term in reverse polish notation (RPN) with options.
(Inherited from BaseEntry)
Obsolete.
ToTerms(Int32, Int32, FractionsType, Boolean, Boolean, MidpointRounding) Converts current expression component to the array of Term in reverse polish notation (RPN) with options.
(Inherited from BaseEntry)
Obsolete.
Trunc Returns the integer part of a number.
(Inherited from BaseEntry)
xy2pol 
xy2pol(TComplex) 

Operators

Addition(TComplex, TComplex) Computes the sum of two TComplex objects.
Division(TComplex, TComplex) Computes the division of two TComplex objects.
Equality(TComplex, TComplex) 
(Double to TComplex) Defines an implicit conversion of a Double value to a TComplex.
(TDouble to TComplex) Defines an implicit conversion of a TDouble value to a TComplex.
(TFraction to TComplex) Defines an implicit conversion of a TFraction value to a TComplex.
(TInfinity to TComplex) Defines an implicit conversion of a TInfinity value to a TComplex.
(TNumber to TComplex) Defines an implicit conversion of a TNumber value to a TComplex.
Inequality(TComplex, TComplex) 
Multiply(TComplex, TComplex) Computes the multiplication of two TComplex objects.
Subtraction(TComplex, TComplex) Computes the subtract of two TComplex objects.

Fields

Im 
Re 

See Also