18 template <
typename Decomposition,
typename RhsType,
typename StorageKind>
36 template <
typename Decomposition,
typename RhsType,
typename StorageKind>
39 template <
typename Decomposition,
typename RhsType>
42 RhsType::ColsAtCompileTime, RhsType::PlainObject::Options,
43 Decomposition::MaxColsAtCompileTime, RhsType::MaxColsAtCompileTime>
::type
47 template <
typename Decomposition,
typename RhsType>
50 typename solve_traits<Decomposition, RhsType, typename internal::traits<RhsType>::StorageKind>::PlainObject> {
61 template <
typename Decomposition,
typename RhsType>
62 class Solve :
public SolveImpl<Decomposition, RhsType, typename internal::traits<RhsType>::StorageKind> {
81 template <
typename Decomposition,
typename RhsType>
95 template <
typename Decomposition,
typename RhsType,
typename StorageKind>
104 template <
typename Decomposition,
typename RhsType>
106 :
public evaluator<typename Solve<Decomposition, RhsType>::PlainObject> {
114 internal::construct_at<Base>(
this, m_result);
115 solve.dec()._solve_impl(
solve.rhs(), m_result);
125 template <
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
131 if ((dst.rows() != dstRows) || (dst.cols() != dstCols)) dst.resize(dstRows, dstCols);
133 src.
dec()._solve_impl(src.
rhs(), dst);
138 template <
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
145 if ((dst.rows() != dstRows) || (dst.cols() != dstCols)) dst.resize(dstRows, dstCols);
147 src.
dec().nestedExpression().template _solve_impl_transposed<false>(src.
rhs(), dst);
152 template <
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
164 if ((dst.rows() != dstRows) || (dst.cols() != dstCols)) dst.resize(dstRows, dstCols);
166 src.
dec().nestedExpression().nestedExpression().template _solve_impl_transposed<true>(src.
rhs(), dst);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
#define EIGEN_NOEXCEPT
Definition: Macros.h:1267
#define EIGEN_CONSTEXPR
Definition: Macros.h:758
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:892
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
Definition: Macros.h:1171
int rows
Definition: Tutorial_commainit_02.cpp:1
int cols
Definition: Tutorial_commainit_02.cpp:1
SCALAR Scalar
Definition: bench_gemm.cpp:45
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:53
internal::traits< Solve< Decomposition, RhsType > >::Scalar Scalar
Definition: DenseBase.h:62
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:52
MatrixBase< Solve< Decomposition, RhsType > > Base
Definition: Solve.h:86
Scalar coeff(Index row, Index col) const
Solve< Decomposition, RhsType > Derived
Definition: Solve.h:83
Scalar coeff(Index i) const
internal::generic_xpr_base< Solve< Decomposition, RhsType >, MatrixXpr, StorageKind >::type Base
Definition: Solve.h:98
Pseudo expression representing a solving operation.
Definition: Solve.h:62
internal::traits< Solve >::PlainObject PlainObject
Definition: Solve.h:64
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition: Solve.h:70
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition: Solve.h:69
internal::traits< Solve >::StorageIndex StorageIndex
Definition: Solve.h:65
const Decomposition & m_dec
Definition: Solve.h:76
EIGEN_DEVICE_FUNC const Decomposition & dec() const
Definition: Solve.h:72
Solve(const Decomposition &dec, const RhsType &rhs)
Definition: Solve.h:67
EIGEN_DEVICE_FUNC const RhsType & rhs() const
Definition: Solve.h:73
const internal::ref_selector< RhsType >::type m_rhs
Definition: Solve.h:77
Expression of the transpose of a matrix.
Definition: Transpose.h:56
Definition: XprHelper.h:352
const unsigned int EvalBeforeNestingBit
Definition: Constants.h:74
const unsigned int RowMajorBit
Definition: Constants.h:70
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
const int HugeCost
Definition: Constants.h:48
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
Extend namespace for flags.
Definition: fsi_chan_precond_driver.cc:56
type
Definition: compute_granudrum_aor.py:141
Definition: Eigen_Colamd.h:49
Update the problem specs before solve
Definition: steady_axisym_advection_diffusion.cc:353
Definition: Constants.h:519
Definition: Constants.h:534
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
Definition: Solve.h:161
Solve< CwiseUnaryOp< internal::scalar_conjugate_op< typename DecType::Scalar >, const Transpose< const DecType > >, RhsType > SrcXprType
Definition: Solve.h:160
Solve< DecType, RhsType > SrcXprType
Definition: Solve.h:127
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
Definition: Solve.h:128
Solve< Transpose< const DecType >, RhsType > SrcXprType
Definition: Solve.h:141
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
Definition: Solve.h:142
Definition: AssignEvaluator.h:773
Definition: AssignEvaluator.h:756
Template functor for scalar/packet assignment.
Definition: AssignmentFunctors.h:25
Solve< Decomposition, RhsType > SolveType
Definition: Solve.h:107
EIGEN_DEVICE_FUNC evaluator(const SolveType &solve)
Definition: Solve.h:113
SolveType::PlainObject PlainObject
Definition: Solve.h:108
PlainObject m_result
Definition: Solve.h:119
evaluator< PlainObject > Base
Definition: Solve.h:109
Definition: CoreEvaluators.h:104
Definition: XprHelper.h:575
std::conditional_t< bool(traits< T >::Flags &NestByRefBit), T const &, const T > type
Definition: XprHelper.h:507
Template functor to compute the conjugate of a complex value.
Definition: functors/UnaryFunctors.h:132
make_proper_matrix_type< typename RhsType::Scalar, Decomposition::ColsAtCompileTime, RhsType::ColsAtCompileTime, RhsType::PlainObject::Options, Decomposition::MaxColsAtCompileTime, RhsType::MaxColsAtCompileTime >::type PlainObject
Definition: Solve.h:44
promote_index_type< typename Decomposition::StorageIndex, typename RhsType::StorageIndex >::type StorageIndex
Definition: Solve.h:54
traits< PlainObject > BaseTraits
Definition: Solve.h:55
solve_traits< Decomposition, RhsType, typename internal::traits< RhsType >::StorageKind >::PlainObject PlainObject
Definition: Solve.h:52
Definition: ForwardDeclarations.h:21