Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Expander authored and Expander committed Jun 5, 2014
1 parent 1ed7649 commit 6cb0e7b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/wrappers.hpp
Expand Up @@ -201,6 +201,15 @@ double MaxRelDiff(const Eigen::ArrayBase<Derived>& a,
return MaxRelDiff(a.matrix(), b.matrix());
}

/**
* The element of v, which is closest to mass, is moved to the
* position idx.
*
* @param idx new index of the mass eigenvalue
* @param mass mass to compare against
* @param v vector of masses
* @param z corresponding mixing matrix
*/
template <typename DerivedArray, typename DerivedMatrix>
void move_goldstone_to(unsigned idx, double mass, Eigen::ArrayBase<DerivedArray>& v,
Eigen::MatrixBase<DerivedMatrix>& z)
Expand Down

0 comments on commit 6cb0e7b

Please sign in to comment.