SyTen

◆ orthonormalise()

template<typename Impl1 , typename Impl2 >
template<typename Vec >
static void syten::Krylov::OrthoPolicies::Combined< Impl1, Impl2 >::orthonormalise ( Vec v,
std::vector< Vec > const &  ortho,
IterativeConfig const &  conf,
IterativeExit e 
)
inlinestatic

Orthonormalises the vector v in-place against the last two vectors contained in ortho using the Impl1 class implementation and then against all vectors in ortho using the Impl2 class implementation.

Template Parameters
Vectype of the vector to orthogonalise
Parameters
vinput and output vector to orthogonalise
orthoset of vectors against which to orthogonalise. Depending on OrthoImpl, these may have to be orthogonal.
confconfiguration to use
eexit object, used to signal error conditions

References syten::InexactArithmetic, syten::MaxPossible, syten::Krylov::OrthoPolicies::Complete< OrthoImpl >::orthonormalise(), syten::Krylov::OrthoPolicies::LastTwo< OrthoImpl >::orthonormalise(), and syten::IterativeExit::reason.

+ Here is the call graph for this function: