indexing_functor< ArgType, RowIndexType, ColIndexType > Class Template Reference

Public Types

typedef Eigen::Matrix< typename ArgType::Scalar, RowIndexType::SizeAtCompileTime, ColIndexType::SizeAtCompileTime, ArgType::Flags &Eigen::RowMajorBit ? Eigen::RowMajor :Eigen::ColMajor, RowIndexType::MaxSizeAtCompileTime, ColIndexType::MaxSizeAtCompileTime > MatrixType
 

Public Member Functions

 indexing_functor (const ArgType &arg, const RowIndexType &row_indices, const ColIndexType &col_indices)
 
const ArgType::Scalaroperator() (Eigen::Index row, Eigen::Index col) const
 

Private Attributes

const ArgType & m_arg
 
const RowIndexType & m_rowIndices
 
const ColIndexType & m_colIndices
 

Member Typedef Documentation

◆ MatrixType

template<class ArgType , class RowIndexType , class ColIndexType >
typedef Eigen::Matrix<typename ArgType::Scalar, RowIndexType::SizeAtCompileTime, ColIndexType::SizeAtCompileTime, ArgType::Flags & Eigen::RowMajorBit ? Eigen::RowMajor : Eigen::ColMajor, RowIndexType::MaxSizeAtCompileTime, ColIndexType::MaxSizeAtCompileTime> indexing_functor< ArgType, RowIndexType, ColIndexType >::MatrixType

Constructor & Destructor Documentation

◆ indexing_functor()

template<class ArgType , class RowIndexType , class ColIndexType >
indexing_functor< ArgType, RowIndexType, ColIndexType >::indexing_functor ( const ArgType &  arg,
const RowIndexType &  row_indices,
const ColIndexType &  col_indices 
)
inline
18  : m_arg(arg), m_rowIndices(row_indices), m_colIndices(col_indices) {}
const ColIndexType & m_colIndices
Definition: nullary_indexing.cpp:9
const ArgType & m_arg
Definition: nullary_indexing.cpp:7
const RowIndexType & m_rowIndices
Definition: nullary_indexing.cpp:8

Member Function Documentation

◆ operator()()

template<class ArgType , class RowIndexType , class ColIndexType >
const ArgType::Scalar& indexing_functor< ArgType, RowIndexType, ColIndexType >::operator() ( Eigen::Index  row,
Eigen::Index  col 
) const
inline

Member Data Documentation

◆ m_arg

template<class ArgType , class RowIndexType , class ColIndexType >
const ArgType& indexing_functor< ArgType, RowIndexType, ColIndexType >::m_arg
private

◆ m_colIndices

template<class ArgType , class RowIndexType , class ColIndexType >
const ColIndexType& indexing_functor< ArgType, RowIndexType, ColIndexType >::m_colIndices
private

◆ m_rowIndices

template<class ArgType , class RowIndexType , class ColIndexType >
const RowIndexType& indexing_functor< ArgType, RowIndexType, ColIndexType >::m_rowIndices
private

The documentation for this class was generated from the following file: