10#ifndef EIGEN_MISC_KERNEL_H
11#define EIGEN_MISC_KERNEL_H
20template<
typename DecompositionType>
23 typedef typename DecompositionType::MatrixType
MatrixType;
25 typename MatrixType::Scalar,
26 MatrixType::ColsAtCompileTime,
31 MatrixType::MaxColsAtCompileTime,
32 MatrixType::MaxColsAtCompileTime
38 :
public ReturnByValue<kernel_retval_base<_DecompositionType> >
54 template<
typename Dest>
inline void evalTo(Dest& dst)
const
66#define EIGEN_MAKE_KERNEL_HELPERS(DecompositionType) \
67 typedef typename DecompositionType::MatrixType MatrixType; \
68 typedef typename MatrixType::Scalar Scalar; \
69 typedef typename MatrixType::RealScalar RealScalar; \
70 typedef Eigen::internal::kernel_retval_base<DecompositionType> Base; \
75 kernel_retval(const DecompositionType& dec) : Base(dec) {}
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: Core:141
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
kernel_retval_base(const DecompositionType &dec)
Definition: Kernel.h:43
Index m_cols
Definition: Kernel.h:61
Index rank() const
Definition: Kernel.h:51
ReturnByValue< kernel_retval_base > Base
Definition: Kernel.h:41
const DecompositionType & dec() const
Definition: Kernel.h:52
Index rows() const
Definition: Kernel.h:49
_DecompositionType DecompositionType
Definition: Kernel.h:40
const DecompositionType & m_dec
Definition: Kernel.h:60
Index cols() const
Definition: Kernel.h:50
Index m_rank
Definition: Kernel.h:61
void evalTo(Dest &dst) const
Definition: Kernel.h:54
Definition: ForwardDeclarations.h:139
Matrix< typename MatrixType::Scalar, MatrixType::ColsAtCompileTime, Dynamic, MatrixType::Options, MatrixType::MaxColsAtCompileTime, MatrixType::MaxColsAtCompileTime > ReturnType
Definition: Kernel.h:34
DecompositionType::MatrixType MatrixType
Definition: Kernel.h:23
Definition: ForwardDeclarations.h:17