IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Meta.Numerics.Statistics.UncertainMeasurement< T > Class Template Reference

Represents an experimental data point that is a function of an arbitrary variable. More...

+ Collaboration diagram for Meta.Numerics.Statistics.UncertainMeasurement< T >:

Public Member Functions

 UncertainMeasurement (T x, UncertainValue y)
 Initializes a new data point with the given values for the ordinate and uncertain abcissa. More...
 
 UncertainMeasurement (T x, double y, double dy)
 Initializes a new data point with the given values for the ordinate, abcissa, and uncertainty. More...
 
override bool Equals (object obj)
 Determines whether the object represents the same data point. More...
 
override int GetHashCode ()
 Gets a hash code for the data point. More...
 

Static Public Member Functions

static bool operator== (UncertainMeasurement< T > d1, UncertainMeasurement< T > d2)
 Determines whether two data points are equal. More...
 
static bool operator!= (UncertainMeasurement< T > d1, UncertainMeasurement< T > d2)
 Determines whether two data points are not equal. More...
 

Properties

X [get]
 Gets or sets the value of the ordinate (independent variable). More...
 
UncertainValue Y [get]
 Gets or sets the uncertain value of the abcissa (the depdent variable). More...
 

Static Private Member Functions

static bool Equals (UncertainMeasurement< T > d1, UncertainMeasurement< T > d2)
 

Private Attributes

x
 
UncertainValue y
 

Detailed Description

Represents an experimental data point that is a function of an arbitrary variable.

Template Parameters
TThe type of the ordinate (independent variable) characterizing the data point.

Constructor & Destructor Documentation

Meta.Numerics.Statistics.UncertainMeasurement< T >.UncertainMeasurement ( x,
UncertainValue  y 
)
inline

Initializes a new data point with the given values for the ordinate and uncertain abcissa.

Parameters
xThe ordinate.
yThe abcissa.
Meta.Numerics.Statistics.UncertainMeasurement< T >.UncertainMeasurement ( x,
double  y,
double  dy 
)
inline

Initializes a new data point with the given values for the ordinate, abcissa, and uncertainty.

Parameters
xThe ordinate.
yThe best estimate of the abcissa.
dyThe uncertainty in the abcissa.

Member Function Documentation

static bool Meta.Numerics.Statistics.UncertainMeasurement< T >.Equals ( UncertainMeasurement< T >  d1,
UncertainMeasurement< T >  d2 
)
inlinestaticprivate
static bool Meta.Numerics.Statistics.UncertainMeasurement< T >.operator== ( UncertainMeasurement< T >  d1,
UncertainMeasurement< T >  d2 
)
inlinestatic

Determines whether two data points are equal.

Parameters
d1The first data point.
d2The second data point.
Returns
True if the data points are equal, otherwise false.
static bool Meta.Numerics.Statistics.UncertainMeasurement< T >.operator!= ( UncertainMeasurement< T >  d1,
UncertainMeasurement< T >  d2 
)
inlinestatic

Determines whether two data points are not equal.

Parameters
d1The first data point.
d2The second data point.
Returns
True if the data points are not equal, otherwise false.
override bool Meta.Numerics.Statistics.UncertainMeasurement< T >.Equals ( object  obj)
inline

Determines whether the object represents the same data point.

Parameters
objThe object.
Returns
True if the object represents the same data point, otherwise false.
override int Meta.Numerics.Statistics.UncertainMeasurement< T >.GetHashCode ( )
inline

Gets a hash code for the data point.

Returns
A hash code for the data point.

References Meta.Numerics.UncertainValue.GetHashCode().

Member Data Documentation

T Meta.Numerics.Statistics.UncertainMeasurement< T >.x
private
UncertainValue Meta.Numerics.Statistics.UncertainMeasurement< T >.y
private

Property Documentation

T Meta.Numerics.Statistics.UncertainMeasurement< T >.X
get

Gets or sets the value of the ordinate (independent variable).

Referenced by Meta.Numerics.Statistics.UncertainMeasurement< T >.Equals().

UncertainValue Meta.Numerics.Statistics.UncertainMeasurement< T >.Y
get

Gets or sets the uncertain value of the abcissa (the depdent variable).

Referenced by Meta.Numerics.Statistics.UncertainMeasurement< T >.Equals().


The documentation for this class was generated from the following file: