30 template<
typename MatrixType>
36 typedef typename MatrixType::StorageKind StorageKind;
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,
46 Flags = _MatrixTypeNested::Flags & (HereditaryBits |
LvalueBit),
47 CoeffReadCost = _MatrixTypeNested::CoeffReadCost
53 template<
typename MatrixType>
class Minor 59 EIGEN_DENSE_PUBLIC_INTERFACE(
Minor)
63 : m_matrix(matrix), m_row(row), m_col(col)
65 eigen_assert(row >= 0 && row < matrix.rows()
66 && col >= 0 && col < matrix.cols());
69 EIGEN_INHERIT_ASSIGNMENT_OPERATORS(
Minor)
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));
79 inline const Scalar coeff(
Index row,
Index col)
const 81 return m_matrix.coeff(row + (row >= m_row), col + (col >= m_col));
85 const typename MatrixType::Nested m_matrix;
86 const Index m_row, m_col;
99 template<
typename Derived>
108 template<
typename Derived>
117 #endif // EIGEN_MINOR_H internal::traits< Derived >::Index Index
The type of indices.
Definition: DenseBase.h:60
const unsigned int LvalueBit
Means the expression has a coeffRef() method, i.e.
Definition: Constants.h:131
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
Definition: XprHelper.h:371
Expression of a minor.
Definition: Minor.h:53
Definition: BandTriangularSolver.h:13
const int Dynamic
This value means that a positive quantity (e.g., a size) is not known at compile-time, and that instead the value is stored in some runtime variable.
Definition: Constants.h:21
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:48
Definition: ForwardDeclarations.h:17