|
template<typename Derived > |
unsigned | gm2calc::closest_index (double mass, const Eigen::ArrayBase< Derived > &v) |
|
template<class Derived > |
bool | gm2calc::is_equal (const Eigen::ArrayBase< Derived > &a, const Eigen::ArrayBase< Derived > &b, double precision_goal) |
|
template<class Derived > |
bool | gm2calc::is_zero (const Eigen::ArrayBase< Derived > &a, double eps) |
|
template<int M, int N> |
void | gm2calc::normalize_to_interval (Eigen::Matrix< double, M, N > &m, double min=-1., double max=1.) |
| Normalize each element of the given real matrix to be within the interval [min, max].
|
|
template<typename DerivedArray , typename DerivedMatrix > |
void | gm2calc::move_goldstone_to (int idx, double mass, Eigen::ArrayBase< DerivedArray > &v, Eigen::MatrixBase< DerivedMatrix > &z) |
| The element of v, which is closest to mass, is moved to the position idx.
|
|
template<class Real , int Nsrc, int Ncmp> |
Eigen::Array< Real, Nsrc - Ncmp, 1 > | gm2calc::remove_if_equal (const Eigen::Array< Real, Nsrc, 1 > &src, const Eigen::Array< Real, Ncmp, 1 > &cmp) |
| Returns all elements from src, which are not close to the elements in cmp.
|
|
template<class Real , int N> |
void | gm2calc::reorder_vector (Eigen::Array< Real, N, 1 > &v, const Eigen::Array< Real, N, 1 > &v2) |
| reorders vector v according to ordering in vector v2
|
|
template<class Derived > |
void | gm2calc::reorder_vector (Eigen::Array< double, Eigen::MatrixBase< Derived >::RowsAtCompileTime, 1 > &v, const Eigen::MatrixBase< Derived > &matrix) |
| reorders vector v according to ordering of diagonal elements in mass_matrix
|
|
template<typename Derived > |
void | gm2calc::symmetrize (Eigen::MatrixBase< Derived > &m) |
|