7 template<
class ArgType>
15 if (index < 0) index += m_vec.size();
22 template<
class ArgType>
25 ArgType::SizeAtCompileTime,
26 ArgType::SizeAtCompileTime,
28 ArgType::MaxSizeAtCompileTime,
34 template <
class ArgType>
46 Eigen::VectorXd vec(4);
50 std::cout << mat << std::endl;
Generic expression of a matrix where all coefficients are defined by a functor.
circulant_functor(const ArgType &arg)
CwiseNullaryOp< circulant_functor< ArgType >, typename circulant_helper< ArgType >::MatrixType > makeCirculant(const Eigen::MatrixBase< ArgType > &arg)
Namespace containing all symbols from the Eigen library.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Matrix< typename ArgType::Scalar, ArgType::SizeAtCompileTime, ArgType::SizeAtCompileTime, ColMajor, ArgType::MaxSizeAtCompileTime, ArgType::MaxSizeAtCompileTime > MatrixType
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.