Contents

cblas_sasum(_:_:_:)

Computes the sum of the absolute values of elements in a vector (single-precision).

Declaration

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

Parameters

  • N:

    Number of elements in the vector.

  • X:

    Source vector

  • INCX:

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

Discussion

See Also

Single-precision float matrix functions