Template Function t8_norm(const TVec&)

Function Documentation

template<T8InputRange TVec>
static inline double t8_norm(const TVec &vec)

Vector norm.

Parameters:

vec[in] An N-dimensional vector.

Returns:

The norm of vec.