Sort function for ordering of eigen values and vectors.
More...
#include <EigenDecomposition.hpp>
|
| MapSort (Eigen::Matrix< T, Eigen::Dynamic, 1 > &values) |
| Construct new sort function struct. More...
|
|
bool | operator() (const int &i0, const int &i1) |
| Compare the eigen values with the given indices. More...
|
|
template<class T = double>
struct rw::math::EigenDecomposition< T >::MapSort
Sort function for ordering of eigen values and vectors.
◆ MapSort()
MapSort |
( |
Eigen::Matrix< T, Eigen::Dynamic, 1 > & |
values | ) |
|
|
inline |
Construct new sort function struct.
- Parameters
-
values | [in] the eigen values. |
◆ operator()()
bool operator() |
( |
const int & |
i0, |
|
|
const int & |
i1 |
|
) |
| |
|
inline |
Compare the eigen values with the given indices.
- Parameters
-
i0 | [in] index of first eigenvalue. |
i1 | [in] index of second eigenvalue. |
- Returns
- true if first eigenvalue comes before the second (it is smaller), false otherwise.
The documentation for this struct was generated from the following file: