#include <rrel_muse_table.h>
Public Member Functions | |
rrel_muse_table (unsigned int) | |
Constructor. | |
rrel_muse_table () | |
~rrel_muse_table () | |
Destructor. | |
double | expected_kth (unsigned int k, unsigned int n) |
Expected value of the kth ordered residual from n samples. | |
double | standard_dev_kth (unsigned int k, unsigned int n) |
Standard deviation of the kth ordered residual from n samples. | |
double | muset_divisor (unsigned int k, unsigned int n) |
The divisor for trimmed statistics. | |
double | muset_sq_divisor (unsigned int k, unsigned int n) |
The divisor for trimmed square statistics. | |
Private Member Functions | |
void | calculate_all (unsigned int k, unsigned int n, rrel_muse_table_entry &entry) |
double | calculate_expected (unsigned int k, unsigned int n) const |
Expected value of the kth ordered residual from n samples. | |
double | calculate_standard_dev (unsigned int k, unsigned int n, double expected_kth) const |
Standard deviation of the kth ordered residual from n samples. | |
double | calculate_divisor (unsigned int k, unsigned int n, double expected_kth) const |
The divisor for trimmed statistics. | |
double | calculate_sq_divisor (unsigned int k, unsigned int n, double expected_kth) const |
The divisor for trimmed squared statistics. | |
Private Attributes | |
rrel_muse_map_type | table_ |
Definition at line 47 of file rrel_muse_table.h.
rrel_muse_table::rrel_muse_table | ( | unsigned | int | ) | [inline] |
Constructor.
table_size is the size of table (= max number of residuals pre-computed).
Definition at line 53 of file rrel_muse_table.h.
rrel_muse_table::rrel_muse_table | ( | ) | [inline] |
Definition at line 55 of file rrel_muse_table.h.
rrel_muse_table::~rrel_muse_table | ( | ) | [inline] |
Destructor.
Definition at line 58 of file rrel_muse_table.h.
void rrel_muse_table::calculate_all | ( | unsigned int | k, |
unsigned int | n, | ||
rrel_muse_table_entry & | entry | ||
) | [private] |
Definition at line 61 of file rrel_muse_table.cxx.
double rrel_muse_table::calculate_divisor | ( | unsigned int | k, |
unsigned int | n, | ||
double | expected_kth | ||
) | const [private] |
The divisor for trimmed statistics.
The value is computed "from scratch".
Definition at line 117 of file rrel_muse_table.cxx.
double rrel_muse_table::calculate_expected | ( | unsigned int | k, |
unsigned int | n | ||
) | const [private] |
Expected value of the kth ordered residual from n samples.
The value is computed "from scratch".
Definition at line 72 of file rrel_muse_table.cxx.
double rrel_muse_table::calculate_sq_divisor | ( | unsigned int | k, |
unsigned int | n, | ||
double | expected_kth | ||
) | const [private] |
The divisor for trimmed squared statistics.
The value is computed "from scratch".
Definition at line 124 of file rrel_muse_table.cxx.
double rrel_muse_table::calculate_standard_dev | ( | unsigned int | k, |
unsigned int | n, | ||
double | expected_kth | ||
) | const [private] |
Standard deviation of the kth ordered residual from n samples.
The value is computed "from scratch".
Definition at line 79 of file rrel_muse_table.cxx.
double rrel_muse_table::expected_kth | ( | unsigned int | k, |
unsigned int | n | ||
) |
Expected value of the kth ordered residual from n samples.
The value is retrieved from the lookup table when possible.
Definition at line 16 of file rrel_muse_table.cxx.
double rrel_muse_table::muset_divisor | ( | unsigned int | k, |
unsigned int | n | ||
) |
The divisor for trimmed statistics.
The value is retrieved from the lookup table when possible.
Definition at line 38 of file rrel_muse_table.cxx.
double rrel_muse_table::muset_sq_divisor | ( | unsigned int | k, |
unsigned int | n | ||
) |
The divisor for trimmed square statistics.
The value is retrieved from the lookup table when possible.
Definition at line 50 of file rrel_muse_table.cxx.
double rrel_muse_table::standard_dev_kth | ( | unsigned int | k, |
unsigned int | n | ||
) |
Standard deviation of the kth ordered residual from n samples.
The value is retrieved from the lookup table when possible.
Definition at line 27 of file rrel_muse_table.cxx.
rrel_muse_map_type rrel_muse_table::table_ [private] |
Definition at line 97 of file rrel_muse_table.h.