This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.StatisticsUncertainNumber
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Top
Top
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
Mathos.StatisticsUncertainNumber
Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The UncertainNumber type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | UncertainNumber(Decimal, Decimal) |
Creates a new UncertainNumber using an absolute uncertainty
|
![]() | UncertainNumber(Decimal, Decimal, UncertainNumberUncertaintyType) |
Creates a new UncertainNumber using an absolute OR relative uncertainty
|
Methods
Name | Description | |
---|---|---|
![]() | AutoFormat |
Formats the value according to the precision of the uncertainty. The uncertainty is returned with one significant figure.
|
![]() ![]() | AutoFormat(UncertainNumber) |
Formats values according to the precision of the uncertainty. The uncertainty is returned with one significant figure.
|
![]() ![]() | ConvertArrayToTsvString |
Converts an UncertainNumber array to a TSV string.
|
![]() ![]() | ConvertValuesToDecimalArray |
Converts an UncertainNumber array to a decimal array with the values only (uncertainties are not included).
|
![]() | Cos |
Returns the cosine value of the specified angle (in radians).
|
![]() | CustomFunction(FuncDecimal, Decimal) |
Returns the value obtained by a custom function. (In order to add more input parameters, use the static method UncertainNumber.CustomFunction.)
|
![]() ![]() | CustomFunction(FuncDecimal, Decimal, String) |
Returns the value obtained by a custom function with multiple input variables. Reads values from TSV.
|
![]() ![]() | CustomFunction(FuncDecimal, Decimal, UncertainNumber) |
Returns the value obtained by a custom function with multiple input variables.
|
![]() ![]() | CustomFunction(FuncDecimal, Decimal, String) |
Returns the value obtained by a custom function. Reads values from TSV.
|
![]() | Equals(Object) | (Overrides ObjectEquals(Object).) |
![]() | Equals(UncertainNumber) | |
![]() | Exp |
Returns e raised to a specified power.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Log |
Returns the natural (base e) logarithm of the number.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Pow |
Returns the number raised to a specified power.
|
![]() | Sin |
Returns the sine value of the specified angle (in radians).
|
![]() | ToString |
Returns the number including its uncertainty (as a string).
(Overrides ObjectToString.) |
Operators
Extension Methods
Name | Description | |
---|---|---|
![]() | From(Enum) | Overloaded. (Defined by Converter.) |
![]() | From(Base) | Overloaded. (Defined by Converter.) |
Fields
Name | Description | |
---|---|---|
![]() | Uncertainty |
Gets the current absolute uncertainty
|
![]() | Value |
Gets the value of this instance
|
Properties
Name | Description | |
---|---|---|
![]() | RelativeUncertainty |
Gets the relative uncertainty, ranging from 0 to 100
|
See Also