Selection matrix.
Definition at line 778 of file eigentools.h.
#include <eigentools.h>
|
template<class t_Derived > |
Eigen::Map< const Eigen::Matrix< typename Eigen::PlainObjectBase< t_Derived >::Scalar, Eigen::Dynamic, Eigen::Dynamic >, 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()
etools::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 799 of file eigentools.h.
◆ operator*
template<class t_Derived >
Eigen::Map< const Eigen::Matrix< typename Eigen::PlainObjectBase<t_Derived>::Scalar , Eigen::Dynamic, Eigen::Dynamic>, 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 823 of file eigentools.h.
◆ first_index_
std::size_t etools::SelectionMatrix::first_index_ |
|
private |
◆ step_size_
std::size_t etools::SelectionMatrix::step_size_ |
|
private |
The documentation for this class was generated from the following file: