SyTen

◆ solve() [2/3]

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
Argstype pack of arguments to be forwarded to the effective matrix generator and the solver policy
Parameters
vreference in which to return the resulting vector
argsarguments to be forwarded to the effective matrix generator and the solver policy
Returns
an IterativeExit object describing the calculation
Remarks
Reuses the existing Krylov space but does not add new vectors.

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().

+ Here is the call graph for this function: