template<typename Matrix , typename Vector , typename OrthoPolicy , typename HEffPolicy , typename SolverPolicy , typename ApplicationPolicy = TensorNetworksImpl::ApplyThenOrtho>
template<typename... Args>
auto syten::Krylov::TensorNetworks< Matrix, Vector, OrthoPolicy, HEffPolicy, SolverPolicy, ApplicationPolicy >::solve |
( |
Vector & |
v, |
|
|
Args... |
args |
|
) |
| |
|
inline |
Solves the problem using only the currently existing Krylov space.
- Template Parameters
-
Args | type pack of arguments to be forwarded to the effective matrix generator and the solver policy |
- Parameters
-
v | reference in which to return the resulting vector |
args | arguments to be forwarded to the effective matrix generator and the solver policy |
- Returns
- an IterativeExit object describing the calculation
References syten::Krylov::TensorNetworks< Matrix, Vector, OrthoPolicy, HEffPolicy, SolverPolicy, ApplicationPolicy >::H, syten::Krylov::TensorNetworks< Matrix, Vector, OrthoPolicy, HEffPolicy, SolverPolicy, ApplicationPolicy >::initialNorm, syten::Krylov::TensorNetworks< Matrix, Vector, OrthoPolicy, HEffPolicy, SolverPolicy, ApplicationPolicy >::krylov, and std::move().