ALP User Documentation 0.7.0
Algebraic Programming User Documentation
Namespaces | Functions
norm.hpp File Reference

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. More...
 

Detailed Description

Implements the 2-norm.

Author
A. N. Yzelman
Date
17th of March 2022