Contents

cblas_scasum(_:_:_:)

Computes the sum of the absolute values of real and imaginary parts of elements in a vector (single-precision complex).

Declaration

func cblas_scasum(_ N: __LAPACK_int, _ X: OpaquePointer?, _ 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.

Return Value

The return value is a single floating point value that contains the sum of the absolute values of both the real and imaginary parts of the vector.

Discussion

See Also

Single-precision complex matrix functions