10 #ifndef EIGEN_MISC_KERNEL_H 11 #define EIGEN_MISC_KERNEL_H 20 template<
typename DecompositionType>
26 MatrixType::ColsAtCompileTime,
31 MatrixType::MaxColsAtCompileTime,
32 MatrixType::MaxColsAtCompileTime
38 :
public ReturnByValue<kernel_retval_base<_DecompositionType> >
46 m_cols(m_rank==dec.
cols() ? 1 : dec.
cols() - m_rank)
52 inline const DecompositionType&
dec()
const {
return m_dec; }
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) {} 79 #endif // EIGEN_MISC_KERNEL_H
void evalTo(Dest &dst) const
_DecompositionType DecompositionType
Namespace containing all symbols from the Eigen library.
const DecompositionType & dec() const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
kernel_retval_base(const DecompositionType &dec)
DecompositionType::MatrixType MatrixType
Matrix< typename MatrixType::Scalar, MatrixType::ColsAtCompileTime, Dynamic, MatrixType::Options, MatrixType::MaxColsAtCompileTime, MatrixType::MaxColsAtCompileTime > ReturnType
const DecompositionType & m_dec
The matrix class, also used for vectors and row-vectors.
ReturnByValue< kernel_retval_base > Base