Go to the documentation of this file.
26 template <
typename Scalar,
typename ArnoldiOpType>
64 std::stringstream
msg;
65 msg <<
"Lanczos: from_k (= " << from_k <<
") is larger than the current subspace dimension (= " <<
m_k <<
")";
66 throw std::invalid_argument(
msg.str());
79 for (
Index i = from_k;
i <= to_m - 1;
i++)
100 m_op.perform_op(
v.data(),
w.data());
121 Scalar ortho_err = Vf.head(
i1).cwiseAbs().maxCoeff();
148 ortho_err = Vf.head(
i1).cwiseAbs().maxCoeff();
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
void matrix_QtHQ(Matrix &dest) const
Eigen::Map< Matrix > MapMat
Lanczos(const ArnoldiOpType &op, Index m)
void expand_basis(MapConstMat &V, const Index seed, Vector &f, Scalar &fnorm)
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
void factorize_from(Index from_k, Index to_m, Index &op_counter)
Eigen::Map< const Vector > MapConstVec
A matrix or vector expression mapping an existing array of data.
Eigen::Map< Vector > MapVec
Array< int, Dynamic, 1 > v
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Scalar * data() const
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
void compress_H(const TridiagQR< Scalar > &decomp)
Eigen::Map< const Matrix > MapConstMat
Jet< T, N > sqrt(const Jet< T, N > &f)
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:39