Contents

cblas_dscal(_:_:_:_:)

Multiplies each element of a vector by a constant (double-precision).

Declaration

func cblas_dscal(_ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafeMutablePointer<Double>?, _ INCX: __LAPACK_int)

Parameters

  • N:

    The number of elements in vector x.

  • ALPHA:

    The constant scaling factor to multiply by.

  • X:

    Vector x.

  • INCX:

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

Discussion

See Also

Double-precision float matrix functions