einsums::blas::nrm2#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/BLAS.hpp.

template<typename T>
RemoveComplexT<T> nrm2(int_t n, const T *x, int_t incx)#

Compute the Euclidean norm of a vector.

Added in version 2.0.0.

Template Parameters:

T – The type this function handles.

Parameters:
  • n – The number of elements in the vector.

  • x – The input vector.

  • incx – The skip value for the vector.

Returns:

The Euclidean norm of the vector.