61 [[nodiscard]]
Index size() const noexcept {
return size_; }
66 std::unique_ptr<Impl> impl_;
Definition device_arnoldi.hpp:25
Index krylov_dimension() const noexcept
Definition device_arnoldi.hpp:62
Index size() const noexcept
Definition device_arnoldi.hpp:61
DeviceArnoldi(LinearSolver &shifted, const SparseMatrix &b, const SparseMatrix *gradient, LinearSolver *gauge, Index ncv)
Matrix combine(Index m, const Matrix &coefficients) const
(coefficients is m × count): the Ritz vectors.
static std::size_t basis_bytes(Index n, Index ncv) noexcept
void restart(Index m, const Vector &coefficients)
for the explicit restart (c has m entries).
DeviceArnoldi & operator=(const DeviceArnoldi &)=delete
DeviceArnoldi(const DeviceArnoldi &)=delete
static bool available(const LinearSolver &shifted) noexcept
Real iterate(Index j, Vector &h_column)
void set_start(const Vector &start)
.
Factorise once, solve for many right-hand sides.
Definition linear_solver.hpp:17
Definition device_arnoldi.hpp:23
double Real
Definition types.hpp:15
Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic > Matrix
Definition types.hpp:22
Eigen::SparseMatrix< Complex, Eigen::RowMajor, Index > SparseMatrix
Definition types.hpp:24
std::int64_t Index
global indices (DoFs, entities)
Definition types.hpp:17
Eigen::Matrix< Complex, Eigen::Dynamic, 1 > Vector
Definition types.hpp:20