Go to the documentation of this file.
10 #ifndef EIGEN_ITERATIVE_SOLVER_BASE_H
11 #define EIGEN_ITERATIVE_SOLVER_BASE_H
17 template<
typename MatrixType>
21 template <
typename T0>
28 struct no {
int a[2];};
40 template<
typename MatrixType>
50 template<
typename MatrixType>
55 template<
int UpLo>
struct ConstSelfAdjointViewReturnType {
64 : m_dummy(0,0), m_matrix(m_dummy)
67 template<
typename InputType>
77 template<
typename MatrixDerived>
86 if(&(
mat.derived()) != &m_matrix)
99 template<
typename MatrixType>
104 template<
int UpLo>
struct ConstSelfAdjointViewReturnType
142 template<
typename Derived>
181 template<
typename MatrixDerived>
196 template<
typename MatrixDerived>
216 template<
typename MatrixDerived>
237 template<
typename MatrixDerived>
316 template<
typename Rhs,
typename Guess>
333 template<
typename Rhs,
typename DestDerived>
340 DestDerived& dest(aDest.
derived());
346 typename DestDerived::PlainObject tmp(
cols(),rhsCols);
348 for(
Index k=0; k<rhsCols; ++k)
352 derived()._solve_vector_with_guess_impl(tb,tx);
353 tmp.col(k) = tx.sparseView(0);
366 template<
typename Rhs,
typename DestDerived>
373 DestDerived& dest(aDest.derived());
375 for(
Index k=0; k<rhsCols; ++k)
379 derived()._solve_vector_with_guess_impl(bk,xk);
391 template<
typename Rhs,
typename DestDerived>
395 derived()._solve_vector_with_guess_impl(
b,dest.derived());
399 template<
typename Rhs,
typename Dest>
424 template<
typename InputType>
444 #endif // EIGEN_ITERATIVE_SOLVER_BASE_H
void _solve_with_guess_impl(const Rhs &b, SparseMatrixBase< DestDerived > &aDest) const
Namespace containing all symbols from the Eigen library.
internal::enable_if< Rhs::ColsAtCompileTime!=1 &&DestDerived::ColsAtCompileTime!=1 >::type _solve_with_guess_impl(const Rhs &b, MatrixBase< DestDerived > &aDest) const
internal::traits< Derived >::MatrixType MatrixType
SparseSolverBase< Derived > Base
generic_matrix_wrapper(const InputType &mat)
void _solve_impl(const Rhs &b, Dest &x) const
ActualMatrixType::template ConstSelfAdjointViewReturnType< UpLo >::Type Type
MatrixType::RealScalar RealScalar
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
MatrixType::Scalar Scalar
const SolveWithGuess< Derived, Rhs, Guess > solveWithGuess(const MatrixBase< Rhs > &b, const Guess &x0) const
Preconditioner & preconditioner()
static yes test(const Ref< const T > &, int)
internal::enable_if< Rhs::ColsAtCompileTime==1||DestDerived::ColsAtCompileTime==1 >::type _solve_with_guess_impl(const Rhs &b, MatrixBase< DestDerived > &dest) const
const ActualMatrixType & matrix() const
Derived & setMaxIterations(Index maxIters)
IterativeSolverBase(const EigenBase< MatrixDerived > &A)
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
const ActualMatrixType * mp_matrix
MatrixType::RealScalar RealScalar
static MatrixType ms_from
Ref< const MatrixType > ActualMatrixType
const ActualMatrixType & matrix() const
ComputationInfo info() const
Index maxIterations() const
generic_matrix_wrapper(const MatrixType &mat)
internal::traits< Derived >::Preconditioner Preconditioner
void grab(const InputType &A)
void grab(const MatrixType &mat)
MatrixType ActualMatrixType
void grab(const Ref< const MatrixType > &mat)
Derived & compute(const EigenBase< MatrixDerived > &A)
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Block< Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > ColXpr
Base class for linear iterative solvers.
const typedef Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > ConstColXpr
NumTraits< Scalar >::Real RealScalar
Derived & factorize(const EigenBase< MatrixDerived > &A)
A base class for sparse solvers.
A matrix or vector expression mapping an existing expression.
any_conversion(const volatile T &)
MatrixWrapper m_matrixWrapper
ActualMatrixType m_matrix
const ActualMatrixType & matrix() const
RealScalar tolerance() const
Base class of any sparse matrices or sparse expressions.
const Derived & derived() const
The matrix class, also used for vectors and row-vectors.
Derived & setTolerance(const RealScalar &tolerance)
Pseudo expression representing a solving operation.
Base class for all dense matrices, vectors, and expressions.
MatrixWrapper::ActualMatrixType ActualMatrixType
const Preconditioner & preconditioner() const
Preconditioner m_preconditioner
void grab(const EigenBase< MatrixDerived > &mat)
MatrixType::StorageIndex StorageIndex
internal::generic_matrix_wrapper< MatrixType > MatrixWrapper
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Derived & analyzePattern(const EigenBase< MatrixDerived > &A)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:34