Do more. Code less. Free software for GPU computing.
<scroll to top>

Matrix and Vector norm

Basic dense linear algebra

Euclidean norm of entire matrix

Parameters:
[out]h_dstNorm of the vector
[in]numelNumber of elements in vector
[in]d_srcInput vector

afError af_norm_vector_S (float *h_dst, unsigned numel, const float *d_src)
 norm The value of a single precision vector
afError af_norm_vector_D (double *h_dst, unsigned numel, const double *d_src)
 norm The value of a double precision vector

Function Documentation

afError af_norm_vector_S ( float *  h_dst,
unsigned  numel,
const float *  d_src 
)

norm The value of a single precision vector

afError af_norm_vector_D ( double *  h_dst,
unsigned  numel,
const double *  d_src 
)

norm The value of a double precision vector

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines