res = ||r||_2 / ||b||_2 (relative to the right-hand side). Scale-independent, unlike L2Residual.
#include <residuals.hpp>
|
| template<class Backend, class RVector, class BVector, class ReductionScalar = impl::vector_value_type<RVector>> |
| ReductionScalar | operator() (const Backend &, const RVector &r, const BVector &b) const |
◆ operator()()
template<class Backend, class RVector, class BVector, class ReductionScalar = impl::vector_value_type<RVector>>
| ReductionScalar mundy::RelativeL2Residual::operator() |
( |
const Backend & | , |
|
|
const RVector & | r, |
|
|
const BVector & | b ) const |
|
inline |