|
inline |
Reinitialise the solver by passing in a new initial vector.
Clears the generated Krylov subspace. You can call solve() now.
References syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::a, syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::b, std::vector< T >::clear(), syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::initial_norm, syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::krylov, std::move(), syten::norm(), std::vector< T >::push_back(), and SYTEN_ASSERT_MSG.