Contents

catlas_dset(_:_:_:_:)

Modifies a vector (double-precision) in place, setting each element to a given value.

Declaration

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

Parameters

  • N:

    The number of elements in the vector.

  • ALPHA:

    The new value.

  • X:

    The vector to modify.

  • INCX:

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

Discussion

See Also

CATLAS and CBLAS vector functions