UncertainNumber ClassMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
A public class that stores a value and its uncertainty. This class allows you to perform operations between other objects of the same type. Some functions in this class are static.
Inheritance Hierarchy

SystemObject
  Mathos.StatisticsUncertainNumber

Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public class UncertainNumber

The UncertainNumber type exposes the following members.

Constructors

  NameDescription
Public methodUncertainNumber(Decimal, Decimal)
Creates a new UncertainNumber using an absolute uncertainty
Public methodUncertainNumber(Decimal, Decimal, UncertainNumberUncertaintyType)
Creates a new UncertainNumber using an absolute OR relative uncertainty
Top
Methods

  NameDescription
Public methodAutoFormat
Formats the value according to the precision of the uncertainty. The uncertainty is returned with one significant figure.
Public methodStatic memberAutoFormat(UncertainNumber)
Formats values according to the precision of the uncertainty. The uncertainty is returned with one significant figure.
Public methodStatic memberConvertArrayToTsvString
Converts an UncertainNumber array to a TSV string.
Public methodStatic memberConvertValuesToDecimalArray
Converts an UncertainNumber array to a decimal array with the values only (uncertainties are not included).
Public methodCos
Returns the cosine value of the specified angle (in radians).
Public methodCustomFunction(FuncDecimal, Decimal)
Returns the value obtained by a custom function. (In order to add more input parameters, use the static method UncertainNumber.CustomFunction.)
Public methodStatic memberCustomFunction(FuncDecimal, Decimal, String)
Returns the value obtained by a custom function with multiple input variables. Reads values from TSV.
Public methodStatic memberCustomFunction(FuncDecimal, Decimal, UncertainNumber)
Returns the value obtained by a custom function with multiple input variables.
Public methodStatic memberCustomFunction(FuncDecimal, Decimal, String)
Returns the value obtained by a custom function. Reads values from TSV.
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Protected methodEquals(UncertainNumber)
Public methodExp
Returns e raised to a specified power.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLog
Returns the natural (base e) logarithm of the number.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPow
Returns the number raised to a specified power.
Public methodSin
Returns the sine value of the specified angle (in radians).
Public methodToString
Returns the number including its uncertainty (as a string).
(Overrides ObjectToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Public operatorStatic memberDivision(UncertainNumber, UncertainNumber)
Public operatorStatic memberDivision(UncertainNumber, Decimal)
Public operatorStatic memberEquality(UncertainNumber, UncertainNumber)
Public operatorStatic memberEquality(UncertainNumber, Decimal)
Public operatorStatic memberInequality(UncertainNumber, UncertainNumber)
Public operatorStatic memberInequality(UncertainNumber, Decimal)
Public operatorStatic memberMultiply(UncertainNumber, UncertainNumber)
Public operatorStatic memberMultiply(UncertainNumber, Decimal)
Public operatorStatic memberSubtraction
Top
Extension Methods

  NameDescription
Public Extension MethodFrom(Enum)Overloaded.
(Defined by Converter.)
Public Extension MethodFrom(Base)Overloaded.
(Defined by Converter.)
Top
Fields

  NameDescription
Public fieldUncertainty
Gets the current absolute uncertainty
Public fieldValue
Gets the value of this instance
Top
Properties

  NameDescription
Public propertyRelativeUncertainty
Gets the relative uncertainty, ranging from 0 to 100
Top
See Also

Reference