#include <EigenHelpers.h>
Definition at line 13 of file EigenHelpers.h.
◆ eigenMatrixToVector()
template<class VECTOR , class COVARIANCE >
static void EigenHelpers::eigenMatrixToVector |
( |
VECTOR & |
vec, |
|
|
COVARIANCE & |
cov, |
|
|
const char * |
|
|
) |
| |
|
inlinestatic |
Helper fn to get raw data (vec<float>) from the covariance.
- Parameters
-
VECTOR | the vector<float> |
COVARIANCE | The eigen covariance matrix |
NAME | The name of the convertor
|
Definition at line 30 of file EigenHelpers.h.
◆ eigenTransform3DToVector()
Convert HepGeom::Transform3D to std :: vector<double>
Definition at line 55 of file EigenHelpers.h.
59 vec.push_back( trans(0, 0) );
60 vec.push_back( trans(0, 1) );
61 vec.push_back( trans(0, 2) );
62 vec.push_back( trans(1, 0) );
63 vec.push_back( trans(1, 1) );
64 vec.push_back( trans(1, 2) );
65 vec.push_back( trans(2, 0) );
66 vec.push_back( trans(2, 1) );
67 vec.push_back( trans(2, 2) );
68 vec.push_back( trans(0, 3) );
69 vec.push_back( trans(1, 3) );
70 vec.push_back( trans(2, 3) );
◆ vectorToEigenMatrix()
template<class VECTOR , class COVARIANCE >
static void EigenHelpers::vectorToEigenMatrix |
( |
VECTOR & |
vec, |
|
|
COVARIANCE & |
cov, |
|
|
const char * |
|
|
) |
| |
|
inlinestatic |
Helper fn to fill the covariance from the raw data (vec<float>)
- Parameters
-
VECTOR | the vector<float> |
COVARIANCE | The eigen covariance matrix |
NAME | The name of the convertor
|
Definition at line 22 of file EigenHelpers.h.
◆ vectorToEigenTransform3D()
The documentation for this class was generated from the following file: