15template<
typename Decomposition,
typename RhsType,
typename StorageKind>
class SolveImpl;
32template<
typename Decomposition,
typename RhsType,
typename StorageKind>
struct solve_traits;
34template<
typename Decomposition,
typename RhsType>
37 typedef Matrix<
typename RhsType::Scalar,
38 Decomposition::ColsAtCompileTime,
39 RhsType::ColsAtCompileTime,
40 RhsType::PlainObject::Options,
41 Decomposition::MaxColsAtCompileTime,
45template<
typename Decomposition,
typename RhsType>
47 :
traits<typename solve_traits<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>::PlainObject>
54 CoeffReadCost = HugeCost
61template<
typename Decomposition,
typename RhsType>
62class Solve :
public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
69 : m_dec(dec), m_rhs(rhs)
85template<
typename Decomposition,
typename RhsType>
87 :
public MatrixBase<Solve<Decomposition,RhsType> >
94 EIGEN_DENSE_PUBLIC_INTERFACE(
Derived)
98 Scalar coeff(Index row, Index col)
const;
99 Scalar coeff(Index i)
const;
103template<
typename Decomposition,
typename RhsType,
typename StorageKind>
113template<
typename Decomposition,
typename RhsType>
115 :
public evaluator<typename Solve<Decomposition,RhsType>::PlainObject>
118 typedef typename SolveType::PlainObject PlainObject;
124 : m_result(solve.rows(), solve.cols())
126 ::new (
static_cast<Base*
>(
this))
Base(m_result);
127 solve.dec()._solve_impl(solve.rhs(), m_result);
131 PlainObject m_result;
136template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
148template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
159template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition CwiseUnaryOp.h:57
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
The matrix class, also used for vectors and row-vectors.
Definition Matrix.h:180
Pseudo expression representing a solving operation.
Definition Solve.h:63
Expression of the transpose of a matrix.
Definition Transpose.h:55
const unsigned int EvalBeforeNestingBit
means the expression should be evaluated by the calling expression
Definition Constants.h:65
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition Constants.h:61
The type used to identify a dense storage.
Definition Constants.h:490
The type used to identify a matrix expression.
Definition Constants.h:505
Definition AssignEvaluator.h:684
Definition AssignEvaluator.h:674
Definition AssignmentFunctors.h:21
Definition CoreEvaluators.h:82
Definition XprHelper.h:445
Definition UnaryFunctors.h:109
Definition ForwardDeclarations.h:17