rustml::blas::cblas_dnrm2 [] [src]

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

Computes the L2 norm (euclidean norm) of a vector of elements of type f64 (doubles).

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 d_nrm2 in the module ops_inplace.