Computes the invariant interval. More...

#include <Invariant.h>

Inheritance diagram for MEAL::Invariant:
Reference::Able Reference::HeapTracked

Public Member 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.
Stokes< ScalarMath > get_input () const
 Get the input Stokes parameters.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Able & operator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTracked & operator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

Stokes< ScalarMath > input
 The input Stokes parameters.
ScalarMath bias
 The bias due to measurment error.
ScalarMath result
 The invariant interval, I^2 - Q^2 - U^2 - V^2.

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle * __reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Computes the invariant interval.

Properly handles error propagation and bias correction.


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

Generated using doxygen 1.14.0