Go to the documentation of this file.
15 template<
typename Decomposition,
typename RhsType,
typename StorageKind>
class SolveImpl;
32 template<
typename Decomposition,
typename RhsType,
typename StorageKind>
struct solve_traits;
34 template<
typename Decomposition,
typename RhsType>
38 Decomposition::ColsAtCompileTime,
39 RhsType::ColsAtCompileTime,
40 RhsType::PlainObject::Options,
41 Decomposition::MaxColsAtCompileTime,
45 template<
typename Decomposition,
typename RhsType>
47 :
traits<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>
85 template<
typename Decomposition,
typename RhsType>
87 :
public MatrixBase<Solve<Decomposition,RhsType> >
103 template<
typename Decomposition,
typename RhsType,
typename StorageKind>
113 template<
typename Decomposition,
typename RhsType>
115 :
public evaluator<typename Solve<Decomposition,RhsType>::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);
136 template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
144 if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
145 dst.resize(dstRows, dstCols);
147 src.
dec()._solve_impl(src.
rhs(), dst);
152 template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
160 if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
161 dst.resize(dstRows, dstCols);
163 src.
dec().nestedExpression().template _solve_impl_transposed<false>(src.
rhs(), dst);
168 template<
typename DstXprType,
typename DecType,
typename RhsType,
typename Scalar>
177 if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
178 dst.resize(dstRows, dstCols);
180 src.
dec().nestedExpression().nestedExpression().template _solve_impl_transposed<true>(src.
rhs(), dst);
188 #endif // EIGEN_SOLVE_H
evaluator< PlainObject > Base
unary_evaluator< T > Base
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
internal::traits< Solve< Decomposition, RhsType > >::Scalar Scalar
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
Solve(const Decomposition &dec, const RhsType &rhs)
solve_traits< Decomposition, RhsType, typename internal::traits< RhsType >::StorageKind >::PlainObject PlainObject
const unsigned int RowMajorBit
const Decomposition & m_dec
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
const EIGEN_DEVICE_FUNC Decomposition & dec() const
const EIGEN_DEVICE_FUNC RhsType & rhs() const
Solve< CwiseUnaryOp< internal::scalar_conjugate_op< typename DecType::Scalar >, const Transpose< const DecType > >, RhsType > SrcXprType
Expression of the transpose of a matrix.
internal::generic_xpr_base< Solve< Decomposition, RhsType >, MatrixXpr, StorageKind >::type Base
Solve< Transpose< const DecType >, RhsType > SrcXprType
Solve< DecType, RhsType > SrcXprType
promote_index_type< typename Decomposition::StorageIndex, typename RhsType::StorageIndex >::type StorageIndex
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Solve< Decomposition, RhsType > Derived
traits< PlainObject > BaseTraits
Pseudo expression representing a solving operation.
EIGEN_DEVICE_FUNC evaluator(const SolveType &solve)
MatrixBase< Solve< Decomposition, RhsType > > Base
internal::traits< Solve >::StorageIndex StorageIndex
Generic expression where a coefficient-wise unary operator is applied to an expression.
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Solve< Decomposition, RhsType > SolveType
Base class for all dense matrices, vectors, and expressions.
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
SolveType::PlainObject PlainObject
internal::traits< Solve >::PlainObject PlainObject
const unsigned int EvalBeforeNestingBit
make_proper_matrix_type< typename RhsType::Scalar, Decomposition::ColsAtCompileTime, RhsType::ColsAtCompileTime, RhsType::PlainObject::Options, Decomposition::MaxColsAtCompileTime, RhsType::MaxColsAtCompileTime >::type PlainObject
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:35:32