#include <AlignmentParametersData.h>
Public Types | |
typedef ReferenceCountingPointer< AlignmentParametersData > | DataContainer |
Public Member Functions | |
AlignmentParametersData (AlgebraicVector *param, AlgebraicSymMatrix *cov) | |
AlignmentParametersData (AlgebraicVector *param, AlgebraicSymMatrix *cov, std::vector< bool > *sel) | |
AlignmentParametersData (const AlgebraicVector ¶m, const AlgebraicSymMatrix &cov) | |
Constructor from parameters vector and covariance matrix. More... | |
AlignmentParametersData (const AlgebraicVector ¶m, const AlgebraicSymMatrix &cov, const std::vector< bool > &sel) | |
Constructor from parameters vector, covariance matrix and selection vector. More... | |
AlignmentParametersData (void) | |
Default constructor. More... | |
void | checkConsistency (void) const |
const AlgebraicSymMatrix & | covariance (void) const |
Access to the covariance matrix. More... | |
int | numSelected (void) |
Access to the number of selected parameters. More... | |
const AlgebraicVector & | parameters (void) const |
Access to the parameter vector. More... | |
const std::vector< bool > & | selector (void) const |
Access to the selection vector. More... | |
~AlignmentParametersData (void) override | |
Private Attributes | |
AlgebraicSymMatrix * | theCovariance |
int | theNumSelected |
AlgebraicVector * | theParameters |
std::vector< bool > * | theSelector |
Definition at line 7 of file AlignmentParametersData.h.
Definition at line 9 of file AlignmentParametersData.h.
AlignmentParametersData::AlignmentParametersData | ( | void | ) |
AlignmentParametersData::AlignmentParametersData | ( | AlgebraicVector * | param, |
AlgebraicSymMatrix * | cov, | ||
std::vector< bool > * | sel | ||
) |
Constructor from parameters vector, covariance matrix and selection vector. NOTE: The input data must live on the heap and must not be deleted by the user.
Definition at line 14 of file AlignmentParametersData.cc.
References c, theNumSelected, and theSelector.
AlignmentParametersData::AlignmentParametersData | ( | const AlgebraicVector & | param, |
const AlgebraicSymMatrix & | cov, | ||
const std::vector< bool > & | sel | ||
) |
Constructor from parameters vector, covariance matrix and selection vector.
Definition at line 21 of file AlignmentParametersData.cc.
References c, theNumSelected, and theSelector.
AlignmentParametersData::AlignmentParametersData | ( | AlgebraicVector * | param, |
AlgebraicSymMatrix * | cov | ||
) |
Constructor from parameters vector and covariance matrix. NOTE: The input data must live on the heap and must not be deleted by the user.
Definition at line 30 of file AlignmentParametersData.cc.
AlignmentParametersData::AlignmentParametersData | ( | const AlgebraicVector & | param, |
const AlgebraicSymMatrix & | cov | ||
) |
Constructor from parameters vector and covariance matrix.
Definition at line 36 of file AlignmentParametersData.cc.
|
override |
Definition at line 42 of file AlignmentParametersData.cc.
References theCovariance, theParameters, and theSelector.
void AlignmentParametersData::checkConsistency | ( | void | ) | const |
Check if the size of the parameters vector, the size of the covariance matrix, the size of the selector and the number of selected parameters is consistent. An exception of type "LogicError" is thrown in case of any inconsistencies.
Definition at line 48 of file AlignmentParametersData.cc.
References Exception, theCovariance, theParameters, and theSelector.
|
inline |
Access to the covariance matrix.
Definition at line 34 of file AlignmentParametersData.h.
References theCovariance.
|
inline |
Access to the number of selected parameters.
Definition at line 40 of file AlignmentParametersData.h.
References theNumSelected.
|
inline |
Access to the parameter vector.
Definition at line 31 of file AlignmentParametersData.h.
References theParameters.
|
inline |
Access to the selection vector.
Definition at line 37 of file AlignmentParametersData.h.
References theSelector.
|
private |
Definition at line 49 of file AlignmentParametersData.h.
Referenced by checkConsistency(), covariance(), and ~AlignmentParametersData().
|
private |
Definition at line 51 of file AlignmentParametersData.h.
Referenced by AlignmentParametersData(), and numSelected().
|
private |
Definition at line 48 of file AlignmentParametersData.h.
Referenced by checkConsistency(), parameters(), and ~AlignmentParametersData().
|
private |
Definition at line 50 of file AlignmentParametersData.h.
Referenced by AlignmentParametersData(), checkConsistency(), selector(), and ~AlignmentParametersData().