Class MEAL::Invariant

class Invariant : public Reference::Able

Computes the invariant interval.

Properly handles error propagation and bias correction.

Public Functions

Invariant()

Default constructor.

Invariant(const Invariant&)

Copy constructor.

~Invariant()

Destructor.

Invariant &operator=(const Invariant&)

Assignment operator.

void set_Stokes(const Stokes<Estimate<float>>&)

Set the Stokes parameters.

void set_Stokes(const Stokes<Estimate<double>>&)

Set the Stokes parameters.

Estimate<double> get_invariant() const

Get the invariant interval.

double get_bias() const

Get the estimated bias due to measurement error.

ScalarMath get_correct_result() const

Get the bias-corrected estimate.

inline Stokes<ScalarMath> get_input() const

Get the input Stokes parameters.