SyTen

◆ orthogonalise()

template<typename Scalar >
DenseTensor<1, Scalar> syten::orthogonalise ( DenseTensor< 1, Scalar > const &  a,
DenseTensor< 1, Scalar > const &  b 
)
inline

\( R_i = A_i - \langle A|B \rangle/\langle B|B\rangle \cdot B_i \)

References syten::DenseTensor< rank, Scalar >::dim(), norm(), overlap(), overThreshold(), SYTEN_ASSERT, and SYTEN_ZERO_THRESHOLD.

Referenced by syten::Krylov::OrthoPolicies::Complete< OrthoImpl >::orthogonalise(), syten::Krylov::OrthoPolicies::LastTwo< OrthoImpl >::orthogonalise(), syten::Krylov::OrthoPolicies::AllButLast< OrthoImpl >::orthogonalise(), orthonormalise(), and syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::solve().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: