UncertainValue Structure

Represents a value with an associated uncertainty.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public readonly struct UncertainValue : IEquatable<UncertainValue>
Inheritance
Object    ValueType    UncertainValue
Implements
IEquatableUncertainValue

Constructors

UncertainValue Initializes a new uncertain value.

Properties

RelativeUncertainty Gets the relative uncertainty.
Uncertainty Gets the uncertainty.
Value Gets the best estimate.

Methods

ConfidenceInterval Returns a confidence interval.
Equals(Object) Determines whether the given object represents the same uncertain value.
(Overrides ValueTypeEquals(Object))
Equals(UncertainValue) Determines whether the other uncertain value is the same.
GetHashCode Computes a hash code for the uncertain value.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString Creates a string representation of the uncertain value.
(Overrides ValueTypeToString)

Operators

Addition(Double, UncertainValue) Adds an uncertain value to an certain value.
Addition(UncertainValue, UncertainValue) Adds two uncertain values.
Addition(UncertainValue, Double) Adds a certain value to an uncertain value.
Division(UncertainValue, UncertainValue) Divides two uncertain values.
Division(UncertainValue, Double) Divides an uncertain value by a certain value.
Equality(UncertainValue, UncertainValue) Determines whether two uncertain values are equal.
Inequality(UncertainValue, UncertainValue) Determines whether two uncertain values are not equal.
Multiply(Double, UncertainValue) Multiplies a certain value by an uncertain value.
Multiply(UncertainValue, UncertainValue) Multiplies two uncertain values.
Multiply(UncertainValue, Double) Multiplies an uncertain value by a certain value.
Subtraction(Double, UncertainValue) Subtracts an uncertain value from a certain value.
Subtraction(UncertainValue, UncertainValue) Subtracts two uncertain values.
Subtraction(UncertainValue, Double) Subtracts a certain value from an uncertain value.
UnaryNegation(UncertainValue) Negates an uncertain value.

See Also