Contents

cblas_snrm2(_:_:_:)

Computes the L2 norm (Euclidian length) of a vector (single precision).

Declaration

func cblas_snrm2(_ N: __LAPACK_int, _ X: UnsafePointer<Float>?, _ INCX: __LAPACK_int) -> Float

Parameters

  • N:

    Length of vector X.

  • X:

    Vector X.

  • INCX:

    Stride within X. For example, if incX is 7, every 7th element is used.

Discussion

See Also

Single-precision float matrix functions