rustml::blas::cblas_snrm2 [] [src]

pub unsafe extern fn cblas_snrm2(n: c_int, x: *const c_float, incx: c_int) -> c_float

Computes the L2 norm (euclidean norm) of a vector of elements of type f32 (floats

The parameter n specifies the number of elements in the vector x. The parameter incx specifies the increment between the elements of x.

For a high level interface you should use s_nrm2 in the module ops_inplace.