Go to the documentation of this file.
10 #ifndef EIGEN_SOLVEWITHGUESS_H
11 #define EIGEN_SOLVEWITHGUESS_H
15 template<
typename Decomposition,
typename RhsType,
typename GuessType>
class SolveWithGuess;
32 template<
typename Decomposition,
typename RhsType,
typename GuessType>
34 :
traits<Solve<Decomposition,RhsType> >
40 template<
typename Decomposition,
typename RhsType,
typename GuessType>
75 template<
typename Decomposition,
typename RhsType,
typename GuessType>
77 :
public evaluator<typename SolveWithGuess<Decomposition,RhsType,GuessType>::PlainObject>
84 : m_result(solve.
rows(), solve.
cols())
86 ::new (
static_cast<Base*
>(
this))
Base(m_result);
87 m_result = solve.
guess();
88 solve.
dec()._solve_with_guess_impl(solve.
rhs(), m_result);
97 template<
typename DstXprType,
typename DecType,
typename RhsType,
typename GuessType,
typename Scalar>
105 if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
106 dst.resize(dstRows, dstCols);
109 src.
dec()._solve_with_guess_impl(src.
rhs(), dst);
117 #endif // EIGEN_SOLVEWITHGUESS_H
unary_evaluator< T > Base
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
SolveWithGuess< Decomposition, RhsType, GuessType > SolveType
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op< Scalar, Scalar > &)
const EIGEN_DEVICE_FUNC RhsType & rhs() const
SolveType::PlainObject PlainObject
const EIGEN_DEVICE_FUNC Decomposition & dec() const
evaluator(const SolveType &solve)
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
internal::ref_selector< SolveWithGuess >::type Nested
SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess)
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
evaluator< PlainObject > Base
Scalar coeff(Index row, Index col) const
SolveWithGuess< DecType, RhsType, GuessType > SrcXprType
internal::traits< SolveWithGuess >::Scalar Scalar
internal::generic_xpr_base< SolveWithGuess< Decomposition, RhsType, GuessType >, MatrixXpr, typename internal::traits< RhsType >::StorageKind >::type Base
const GuessType & m_guess
const Decomposition & m_dec
internal::traits< SolveWithGuess >::PlainObject PlainObject
const EIGEN_DEVICE_FUNC GuessType & guess() const
Pseudo expression representing a solving operation.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:24