MathMethods Class

Auxiliary mathematical methods.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class MathMethods
Inheritance
Object    MathMethods

Constructors

MathMethodsInitializes a new instance of the MathMethods class

Methods

DoubleToFraction(Double, Double, Double) Parses a given floating number into the fraction components.
DoubleToFraction(Double, Int32, Double, Double) Parses a given floating number into the fraction components.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FractionReduction Reducing a fraction.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IntToFileSize Converts a file size to a string.
IsNumber(String) Check if a string can be converted into a number.
IsNumber(SessionProfile, String) Check if a string can be converted into a number with a given session options.
IsParam Check if a symbol is part of a parameter name.
IsTextOrNumber(IPrimitive) Determines whether the given Term can be interpreted as a string or a number.
IsTextOrNumber(String) Determines whether the given value can be interpreted as a string or a number.
LongNumber(Double) Converts double to a long string.
LongNumber(Single) Converts float to a long string.
LongNumber(String) Converts a string representation of a number to a double.
LongNumber15 Converts double to a long string.
LongNumberSystem(Double) Converts double to a long string. Throws exception when infinity detected.
LongNumberSystem(Single) Converts float to a long string. Throws exception when infinity detected.
LongNumberSystem15 Converts double to a long string. Throws exception when infinity detected.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseString Converts a given text value to a double.
Priority(String) Determines the priority of mathematical primitives.
Priority(String, Char) Determines the priority of mathematical primitives.
SetSystemSeparator Changes decimal symbol in the string representation of the floating number to the system one.
SetUserSeparator Changes decimal symbol in the string representation of the floating number to the one selected by user.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

DoubleFixedPoint Pattern to use for displaying the maximum supported accuracy of double floating point number.
DoubleFixedPoint15 Pattern to use for displaying the 15 integers of accuracy for double floating point number.

See Also