ArrayFire: norm

Find the norm of a matrix. More...

Functions

AFAPI double norm (const array &in, const normType type=AF_NORM_EUCLID, const double p=1, const double q=1)
 C++ Interface to find the norm of a matrix. More...
 
AFAPI af_err af_norm (double *out, const af_array in, const af_norm_type type, const double p, const double q)
 C Interface to find the norm of a matrix. More...
 

Find the norm of a matrix.

This function can return the norm using various metrics based on the type parameter.

AF_NORM_MATRIX_2 is currently not supported.


◆ af_norm()