10 #ifndef EIGEN_MISC_IMAGE_H
11 #define EIGEN_MISC_IMAGE_H
23 template <
typename DecompositionType>
27 MatrixType::RowsAtCompileTime,
31 MatrixType::MaxRowsAtCompileTime,
33 MatrixType::MaxColsAtCompileTime
38 template <
typename DecompositionType_>
53 template <
typename Dest>
54 inline void evalTo(Dest& dst)
const {
66 #define EIGEN_MAKE_IMAGE_HELPERS(DecompositionType) \
67 typedef typename DecompositionType::MatrixType MatrixType; \
68 typedef typename MatrixType::Scalar Scalar; \
69 typedef typename MatrixType::RealScalar RealScalar; \
70 typedef Eigen::internal::image_retval_base<DecompositionType> Base; \
72 using Base::originalMatrix; \
76 image_retval(const DecompositionType& dec, const MatrixType& originalMatrix) : Base(dec, originalMatrix) {}
SCALAR Scalar
Definition: bench_gemm.cpp:45
MatrixXf MatrixType
Definition: benchmark-blocking-sizes.cpp:52
The matrix class, also used for vectors and row-vectors.
Definition: Eigen/Eigen/src/Core/Matrix.h:186
Definition: ReturnByValue.h:50
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
const int Dynamic
Definition: Constants.h:25
Definition: Eigen_Colamd.h:49
const MatrixType & m_originalMatrix
Definition: Image.h:61
Index rows() const
Definition: Image.h:47
const DecompositionType & m_dec
Definition: Image.h:59
const MatrixType & originalMatrix() const
Definition: Image.h:51
Index m_cols
Definition: Image.h:60
void evalTo(Dest &dst) const
Definition: Image.h:54
const DecompositionType & dec() const
Definition: Image.h:50
ReturnByValue< image_retval_base > Base
Definition: Image.h:42
image_retval_base(const DecompositionType &dec, const MatrixType &originalMatrix)
Definition: Image.h:44
Index rank() const
Definition: Image.h:49
Index cols() const
Definition: Image.h:48
DecompositionType::MatrixType MatrixType
Definition: Image.h:41
Index m_rank
Definition: Image.h:60
DecompositionType_ DecompositionType
Definition: Image.h:40
Definition: ForwardDeclarations.h:207
DecompositionType::MatrixType MatrixType
Definition: Image.h:25
Matrix< typename MatrixType::Scalar, MatrixType::RowsAtCompileTime, Dynamic, traits< MatrixType >::Options, MatrixType::MaxRowsAtCompileTime, MatrixType::MaxColsAtCompileTime > ReturnType
Definition: Image.h:35
Definition: ForwardDeclarations.h:21