TNumber Class

Numeric math primitives manager.

Definition

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

Constructors

TNumber Default constructor.
TNumber(Double)Initializes a new instance of the TNumber class
TNumber(InfType)Initializes a new instance of the TNumber class
TNumber(TComplex)Initializes a new instance of the TNumber class
TNumber(TFraction)Initializes a new instance of the TNumber class
TNumber(TInfinity)Initializes a new instance of the TNumber class
TNumber(Double, Double)Initializes a new instance of the TNumber class
TNumber(TDouble, TDouble)Initializes a new instance of the TNumber class

Methods

Abs Returns an absolute value of the current number.
ACos Returns Arccosine of the value.
ACosec Returns Arccosecant of the value.
ACosH Computes the arccosine of an input value for a hyperbolic angle measured in radians.
ACot Returns Arccotangent of the value.
ACotH Computes the inverse hyperbolic cotangent of a number.
Ainterp 
Alg 
Arg 
ASec Returns Arcsecant of the value.
ASin Returns Arcsine of the value.
ASinH Computes the arcsine of an input value for a hyperbolic angle measured in radians.
ATan Returns Arctangent of the value.
ATan2 
ATanH Computes the arctangent of an input value for a hyperbolic angle measured in radians.
Augment 
Cinterp 
Col 
Cols 
Cos Returns Cosine of the value.
CosH 
Cot Returns Cotangent of the value.
CotH 
CSort 
Determinant 
Diag 
DoubleOrFraction 
El(Int32) 
El(Int32, Int32) 
Equals
(Overrides ObjectEquals(Object))
Factorial Returns factorial of current value.
FFT 
GetHashCode
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Identity 
Im 
Length 
Linterp 
Ln Returns a natural logarithm of a number.
Log Returns a logarithm by the given base, inverse of an exponential function.
Matrix 
Max 
Min 
Minor 
Mod 
Norm1 
NormE 
NormI 
Numden 
pol2xy 
PolyRoots 
Polyroots2 
Power(TNumber) 
Power(TNumber, Boolean) 
Random 
Rank 
Re 
Reverse 
Round(TNumber) Rounds a value to a specified number of fractional digits.
Round(TNumber, TNumber) Rounds a value to a specified number of fractional digits using the specified rounding convention.
Row 
Rows 
RSort 
Sign 
Sin Returns Sine of the value.
SinH 
Sort 
Stack 
Submatrix 
Tan Returns Tangent of the value.
TanH 
ToInt32 
ToStringReturns a string that represents the current object.
(Inherited from Object)
Trace Returns a trace of a squared matrix.
Transpose Switch the orientation of a matrix or vector, i.e., from horizontal to vertical and vice versa.
Trunc Returns the integer part of a number.
VMinor 
VMultiplication 
xy2pol 
xy2pol(TNumber) 

Operators

Addition(TNumber, TNumber) Computes the sum of two TNumber objects.
Division(TNumber, TNumber) Computes the division of two TNumber objects.
Equality(TNumber, TNumber) Returns true if its operands are equal, false otherwise.
GreaterThan(TNumber, TNumber) Returns true if its left-hand operand is greater than its right-hand operand, false otherwise.
(BaseEntry to TNumber) Defines an implicit conversion of a BaseEntry value to a TNumber.
(Double to TNumber) Defines an implicit conversion of a Double value to a TNumber.
Inequality(TNumber, TNumber) Returns true if its operands aren't equal, false otherwise.
LessThan(TNumber, TNumber) Returns true if its left-hand operand is less than its right-hand operand, false otherwise.
Multiply(TNumber, TNumber) Computes the multiplication of two TNumber objects.
Subtraction(TNumber, TNumber) Computes the subtract of two TNumber objects.

Fields

obj 

See Also