10#ifndef EIGEN_MISC_IMAGE_H
11#define EIGEN_MISC_IMAGE_H
20template<
typename DecompositionType>
23 typedef typename DecompositionType::MatrixType
MatrixType;
25 typename MatrixType::Scalar,
26 MatrixType::RowsAtCompileTime,
30 MatrixType::MaxRowsAtCompileTime,
31 MatrixType::MaxColsAtCompileTime
36 :
public ReturnByValue<image_retval_base<_DecompositionType> >
39 typedef typename DecompositionType::MatrixType
MatrixType;
54 template<
typename Dest>
inline void evalTo(Dest& dst)
const
67#define EIGEN_MAKE_IMAGE_HELPERS(DecompositionType) \
68 typedef typename DecompositionType::MatrixType MatrixType; \
69 typedef typename MatrixType::Scalar Scalar; \
70 typedef typename MatrixType::RealScalar RealScalar; \
71 typedef Eigen::internal::image_retval_base<DecompositionType> Base; \
73 using Base::originalMatrix; \
77 image_retval(const DecompositionType& dec, const MatrixType& originalMatrix) \
78 : Base(dec, originalMatrix) {}
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:180
Definition: ReturnByValue.h:52
Namespace containing all symbols from the Eigen library.
Definition: MatrixExponential.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
const int Dynamic
This value means that a positive quantity (e.g., a size) is not known at compile-time,...
Definition: Constants.h:22
Definition: Eigen_Colamd.h:50
Index rank() const
Definition: Image.h:50
Index cols() const
Definition: Image.h:49
Index rows() const
Definition: Image.h:48
const MatrixType & m_originalMatrix
Definition: Image.h:62
const DecompositionType & m_dec
Definition: Image.h:60
image_retval_base(const DecompositionType &dec, const MatrixType &originalMatrix)
Definition: Image.h:42
ReturnByValue< image_retval_base > Base
Definition: Image.h:40
const DecompositionType & dec() const
Definition: Image.h:51
const MatrixType & originalMatrix() const
Definition: Image.h:52
Index m_rank
Definition: Image.h:61
void evalTo(Dest &dst) const
Definition: Image.h:54
_DecompositionType DecompositionType
Definition: Image.h:38
DecompositionType::MatrixType MatrixType
Definition: Image.h:39
Index m_cols
Definition: Image.h:61
Definition: ForwardDeclarations.h:141
Matrix< typename MatrixType::Scalar, MatrixType::RowsAtCompileTime, Dynamic, MatrixType::Options, MatrixType::MaxRowsAtCompileTime, MatrixType::MaxColsAtCompileTime > ReturnType
Definition: Image.h:32
DecompositionType::MatrixType MatrixType
Definition: Image.h:23
Definition: ForwardDeclarations.h:17