ALP User Documentation 0.7.alpha
Algebraic Programming User Documentation
|
Implements the 2-norm. More...
Go to the source code of this file.
Namespaces | |
namespace | grb |
The ALP/GraphBLAS namespace. | |
namespace | grb::algorithms |
The namespace for ALP/GraphBLAS algorithms. | |
Functions | |
template<Descriptor descr = descriptors::no_operation, class Ring , typename InputType , typename OutputType , Backend backend, typename Coords > | |
RC | norm2 (OutputType &x, const Vector< InputType, backend, Coords > &y, const Ring &ring=Ring(), const typename std::enable_if< std::is_floating_point< OutputType >::value, void >::type *const =nullptr) |
Provides a generic implementation of the 2-norm computation. | |
Implements the 2-norm.