Go to the documentation of this file.
10 #ifndef EIGEN_INCOMPLETE_LU_H
11 #define EIGEN_INCOMPLETE_LU_H
15 template <
typename _Scalar>
32 template<
typename MatrixType>
41 template<
typename MatrixType>
50 for(; k_it && k_it.index()<
i; ++k_it)
53 k_it.valueRef() /=
diag(k);
57 while(kj_it && kj_it.index()<=k) ++kj_it;
60 if(kj_it.index()==j_it.index())
62 j_it.valueRef() -= k_it.value() * kj_it.value();
66 else if(kj_it.index()<j_it.index()) ++kj_it;
70 if(k_it && k_it.index()==
i)
diag(
i) = k_it.value();
77 template<
typename Rhs,
typename Dest>
80 x =
m_lu.template triangularView<UnitLower>().solve(
b);
81 x =
m_lu.template triangularView<Upper>().solve(
x);
90 #endif // EIGEN_INCOMPLETE_LU_H
Namespace containing all symbols from the Eigen library.
Matrix< Scalar, Dynamic, Dynamic > MatrixType
SparseMatrix< Scalar, RowMajor > FactorType
Matrix diag(const std::vector< Matrix > &Hs)
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
IncompleteLU(const MatrixType &mat)
A base class for sparse solvers.
Base::InnerIterator InnerIterator
Matrix< Scalar, Dynamic, 1 > Vector
void _solve_impl(const Rhs &b, Dest &x) const
SparseSolverBase< IncompleteLU< _Scalar > > Base
IncompleteLU & compute(const MatrixType &mat)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:27