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 BaseEntry.IzZero)
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 BaseEntry.Clone())
Com Adds value to this instance.
(Overrides BaseEntry.Com(BaseEntry))
Cos Computes cosine with respect to infinite values.
(Overrides BaseEntry.Cos())
CosH Computes hyperbolic cosine with respect to infinite values.
Cot Computes cotangent with respect to infinite values.
(Overrides BaseEntry.Cot())
CotH Computes hyperbolic cotangent with respect to infinite values.
Div Divides this instance by value.
(Overrides BaseEntry.Div(BaseEntry))
EqualsDetermines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object))
Factorial Computes factorial with respect to infinite values.
GetHashCodeServes as the default hash function.
(Overrides Object.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
Gt Returns true if this instance is greater than value.
(Overrides BaseEntry.Gt(BaseEntry))
Ln Computes natural logarithm with respect to infinite values.
Log Computes logarithm to base Base with respect to infinite values.
Lt Returns true if this instance is less than value.
(Overrides BaseEntry.Lt(BaseEntry))
Mul Multiplies value by this instance.
(Overrides BaseEntry.Mul(BaseEntry))
Pow Exponentiation operation.
(Overrides BaseEntry.Pow(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 BaseEntry.Sin())
SinH Computes hyperbolic sine with respect to infinite values.
Sub Subtracts value from this instance.
(Overrides BaseEntry.Sub(BaseEntry))
Tan Computes tangent with respect to infinite values.
(Overrides BaseEntry.Tan())
TanH Computes hyperbolic tangent with respect to infinite values.
ToDouble Converts this instance to a Double value.
(Overrides BaseEntry.ToDouble())
ToString() Converts math expression component to string.
(Inherited from BaseEntry)
ToString(IResultOptions) Converts math expression component to string with options.
(Overrides BaseEntry.ToString(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 true if the operands are equal.
GreaterThan(TInfinity, TInfinity) Returns true if left-hand operand is greater than right-hand operand.
Implicit(Double to TInfinity) Provides implicit conversion from Double to TInfinity.
Implicit(TDouble to TInfinity) Provides implicit conversion from TDouble to TInfinity.
Implicit(TFraction to TInfinity) Provides implicit conversion from TFraction to TInfinity.
Implicit(TNumber to TInfinity) Provides implicit conversion from TNumber to TInfinity.
Inequality(TInfinity, TInfinity) Returns true if the operands are not equal.
LessThan(TInfinity, TInfinity) Returns true 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 null for an infinite value.
inf Type of infinite value or val for a finite value.
num Numerator of a finite value or null for an infinite value.

See Also