Selection matrix.
Definition at line 658 of file eigenut_misc.h.
#include <eigenut_misc.h>
|
template<class t_Derived > |
Eigen::Map< const QPMAD_UTILS_DYNAMIC_MATRIX(typename Eigen::PlainObjectBase< t_Derived >::Scalar), Eigen::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > | operator * (const SelectionMatrix &, const Eigen::PlainObjectBase< t_Derived > &) |
| Multiply selection matrix by a generic Eigen matrix (select rows) More...
|
|
◆ SelectionMatrix()
qpmad_utils::SelectionMatrix::SelectionMatrix |
( |
const std::size_t |
step_size, |
|
|
const std::size_t |
first_index |
|
) |
| |
|
inline |
Constructore.
- Parameters
-
[in] | step_size | step size of selection: 3 – each third element |
[in] | first_index | index of the first element for selection |
Definition at line 679 of file eigenut_misc.h.
◆ operator *
template<class t_Derived >
Eigen::Map< const QPMAD_UTILS_DYNAMIC_MATRIX( typename Eigen::PlainObjectBase<t_Derived>::Scalar ), Eigen::Unaligned, Eigen::Stride<Eigen::Dynamic, Eigen::Dynamic> > operator * |
( |
const SelectionMatrix & |
selector, |
|
|
const Eigen::PlainObjectBase< t_Derived > & |
matrix |
|
) |
| |
|
friend |
Multiply selection matrix by a generic Eigen matrix (select rows)
- Template Parameters
-
- Parameters
-
- Returns
- selected rows
Definition at line 703 of file eigenut_misc.h.
◆ first_index_
std::size_t qpmad_utils::SelectionMatrix::first_index_ |
|
private |
◆ step_size_
std::size_t qpmad_utils::SelectionMatrix::step_size_ |
|
private |
The documentation for this class was generated from the following file: