30 template<
typename MatrixType>
38 RowsAtCompileTime = (MatrixType::RowsAtCompileTime !=
Dynamic) ?
39 int(MatrixType::RowsAtCompileTime) - 1 :
Dynamic,
40 ColsAtCompileTime = (MatrixType::ColsAtCompileTime !=
Dynamic) ?
41 int(MatrixType::ColsAtCompileTime) - 1 :
Dynamic,
42 MaxRowsAtCompileTime = (MatrixType::MaxRowsAtCompileTime !=
Dynamic) ?
43 int(MatrixType::MaxRowsAtCompileTime) - 1 :
Dynamic,
44 MaxColsAtCompileTime = (MatrixType::MaxColsAtCompileTime !=
Dynamic) ?
45 int(MatrixType::MaxColsAtCompileTime) - 1 :
Dynamic,
47 CoeffReadCost = _MatrixTypeNested::CoeffReadCost
53 template<
typename MatrixType>
class Minor 61 inline
Minor(const MatrixType& matrix,
63 : m_matrix(matrix), m_row(row), m_col(
col)
66 && col >= 0 && col < matrix.cols());
71 inline
Index rows()
const {
return m_matrix.rows() - 1; }
72 inline Index cols()
const {
return m_matrix.cols() - 1; }
76 return m_matrix.const_cast_derived().coeffRef(row + (row >= m_row), col + (col >= m_col));
81 return m_matrix.coeff(row + (row >= m_row), col + (col >= m_col));
99 template<
typename Derived>
108 template<
typename Derived>
117 #endif // EIGEN_MINOR_H internal::traits< Derived >::Scalar Scalar
internal::traits< Derived >::Index Index
The type of indices.
remove_reference< MatrixTypeNested >::type _MatrixTypeNested
const unsigned int LvalueBit
nested< MatrixType >::type MatrixTypeNested
Scalar & coeffRef(Index row, Index col)
#define EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Derived)
const Scalar coeff(Index row, Index col) const
const unsigned int HereditaryBits
MatrixType::StorageKind StorageKind
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
const MatrixType::Nested m_matrix
Base class for all dense matrices, vectors, and expressions.