Contents

cblas_dasum(_:_:_:)

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

Declaration

func cblas_dasum(_ N: __LAPACK_int, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int) -> Double

Parameters

  • N:

    The number of elements in vector x.

  • X:

    Vector x.

  • INCX:

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

Return Value

Returns the sum.

Discussion

See Also

Double-precision float matrix functions