15template<
typename Decomposition,
typename RhsType,
typename StorageKind>
class SolveImpl;
32template<
typename Decomposition,
typename RhsType,
typename StorageKind>
struct solve_traits;
34template<
typename Decomposition,
typename RhsType>
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>
61template<
typename Decomposition,
typename RhsType>
62class Solve :
public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
69 : m_dec(dec), m_rhs(rhs)
72 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
Index rows()
const EIGEN_NOEXCEPT {
return m_dec.cols(); }
73 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
Index cols()
const EIGEN_NOEXCEPT {
return m_rhs.cols(); }
75 EIGEN_DEVICE_FUNC
const Decomposition& dec()
const {
return m_dec; }
76 EIGEN_DEVICE_FUNC
const RhsType& rhs()
const {
return m_rhs; }
85template<
typename Decomposition,
typename RhsType>
87 :
public MatrixBase<Solve<Decomposition,RhsType> >
94 EIGEN_DENSE_PUBLIC_INTERFACE(
Derived)
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>
152template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
168template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition CwiseUnaryOp.h:56
EIGEN_DEVICE_FUNC void resize(Index newSize)
Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods...
Definition DenseBase.h:246
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
@ Flags
This stores expression Flags flags which may or may not be inherited by new expressions constructed f...
Definition DenseBase.h:165
Pseudo expression representing a solving operation.
Definition Solve.h:63
Expression of the transpose of a matrix.
Definition Transpose.h:54
Definition XprHelper.h:258
const unsigned int EvalBeforeNestingBit
means the expression should be evaluated by the calling expression
Definition Constants.h:70
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition Constants.h:66
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16
const int HugeCost
This value means that the cost to evaluate an expression coefficient is either very expensive or cann...
Definition Constants.h:44
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
The type used to identify a dense storage.
Definition Constants.h:507
The type used to identify a matrix expression.
Definition Constants.h:522
Definition AssignEvaluator.h:824
Definition AssignEvaluator.h:814
Definition AssignmentFunctors.h:21
Definition CoreEvaluators.h:91
Definition XprHelper.h:501
Definition UnaryFunctors.h:109
Definition ForwardDeclarations.h:17