Contents

cblas_sswap(_:_:_:_:_:)

Exchanges the elements of two vectors (single precision).

Declaration

func cblas_sswap(_ N: __LAPACK_int, _ X: UnsafeMutablePointer<Float>?, _ INCX: __LAPACK_int, _ Y: UnsafeMutablePointer<Float>?, _ INCY: __LAPACK_int)

Parameters

  • N:

    Number of elements in vectors

  • X:

    Vector x. On return, contains elements copied from vector y.

  • INCX:

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

  • Y:

    Vector y. On return, contains elements copied from vector x.

  • INCY:

    Stride within Y. For example, if incY is 7, every 7th element is used.

Discussion

See Also

Single-precision float matrix functions