vsip_scalar_f vsip_vmeansqval_f(vsip_vview_f const *a); vsip_cscalar_f vsip_cvmeansqval_f(vsip_cvview_f const *a);
This function computes the mean of the squared values of all elements in a vector. The mean of squared values is calculated as:

where
is the length of the vector and
are the elements of the input vector.
vsip_dvview_p const* a: Input vector for which to compute the mean of squared values.
Returns the mean of the squared values of all elements in the vector.