TInfinity Class

Implementation of BaseEntry which contains either a number or infinity.

Definition

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

Constructors

TInfinity(InfType) Constructs TInfinity instance which contains an infinite value.
TInfinity(TFraction) Constructs TInfinity instance which contains a fraction.
TInfinity(TInfinity) Constructs TInfinity instance as a copy of the specified TInfinity instance.

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

Units of measurement for the expression component.

  Important

Every numeric expression component must have a value in Units. For dimensionless quantities like angles in radians the value of Units is set to 1.


(Inherited from BaseEntry)

Methods

ACot Computes arccotangent with respect to infinite values.
ATan Computes arctangent with respect to infinite values.
ATan2 Computes arctangent of this / y with respect to infinite values.
Clone Creates a copy of this instance.
(Overrides BaseEntryClone)
Com Adds value to this instance.
(Overrides BaseEntryCom(BaseEntry))
Cos Computes cosine with respect to infinite values.
(Overrides BaseEntryCos)
CosH Computes hyperbolic cosine with respect to infinite values.
Cot Computes cotangent with respect to infinite values.
(Overrides BaseEntryCot)
CotH Computes hyperbolic cotangent with respect to infinite values.
Div Divides this instance by value.
(Overrides BaseEntryDiv(BaseEntry))
EqualsDetermines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Factorial Computes factorial with respect to infinite values.
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Gt Returns if this instance is greater than value.
(Overrides BaseEntryGt(BaseEntry))
Ln Computes natural logarithm with respect to infinite values.
Log Computes logarithm to base Base with respect to infinite values.
Lt Returns if this instance is less than value.
(Overrides BaseEntryLt(BaseEntry))
Mul Multiplies value by this instance.
(Overrides BaseEntryMul(BaseEntry))
Pow Exponentiation operation.
(Overrides BaseEntryPow(BaseEntry))
Power Computes exponent with base equal to this and power equal to value.
Round(BaseEntry) Rounds the value to the specified number of fractional digits.
(Inherited from BaseEntry)
Round(BaseEntry, TDouble) Rounds the value to the specified number of fractional digits using the specified rounding convention.
(Inherited from BaseEntry)
Sign Returns the value of the sign function with respect to infinite values.
Sin Computes sine with respect to infinite values.
(Overrides BaseEntrySin)
SinH Computes hyperbolic sine with respect to infinite values.
Sub Subtracts value from this instance.
(Overrides BaseEntrySub(BaseEntry))
Tan Computes tangent with respect to infinite values.
(Overrides BaseEntryTan)
TanH Computes hyperbolic tangent with respect to infinite values.
ToDouble Converts this instance to a 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 this value.
(Inherited from BaseEntry)

Operators

Addition(TInfinity, TInfinity) Adds two TInfinity objects.
Division(TInfinity, TInfinity) Divides two TInfinity objects.
Equality(TInfinity, TInfinity) Returns if the operands are equal.
GreaterThan(TInfinity, TInfinity) Returns if left-hand operand is greater than right-hand operand.
(Double to TInfinity) Provides implicit conversion from Double to TInfinity.
(TDouble to TInfinity) Provides implicit conversion from TDouble to TInfinity.
(TFraction to TInfinity) Provides implicit conversion from TFraction to TInfinity.
(TNumber to TInfinity) Provides implicit conversion from TNumber to TInfinity.
Inequality(TInfinity, TInfinity) Returns if the operands are not equal.
LessThan(TInfinity, TInfinity) Returns if left-hand operand is less than right-hand operand.
Multiply(TInfinity, TInfinity) Multiplies two TInfinity objects.
Subtraction(TInfinity, TInfinity) Subtracts two TInfinity objects.

Fields

den Denominator of a finite value or for an infinite value.
inf Type of infinite value or val for a finite value.
num Numerator of a finite value or for an infinite value.

See Also