Contents

cblas_dspmv(_:_:_:_:_:_:_:_:_:_:)

Scales a packed symmetric matrix, then multiplies by a vector, then scales and adds another vector (double precision).

Declaration

func cblas_dspmv(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: Double, _ AP: UnsafePointer<Double>?, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int, _ BETA: Double, _ Y: UnsafeMutablePointer<Double>?, _ INCY: __LAPACK_int)

Parameters

  • ORDER:

    Specifies row-major (C) or column-major (Fortran) data ordering.

  • UPLO:

    Specifies whether to use the upper or lower triangle from the matrix. Valid values are 'U' or 'L'.

  • N:

    Order of matrix A and the number of elements in vectors x and y.

  • ALPHA:

    Scaling factor that matrix A is multiplied by.

  • AP:

    Matrix A (in packed storage format).

  • X:

    Vector x.

  • INCX:

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

  • BETA:

    Scaling factor that vector y is multiplied by.

  • Y:

    Vector y.

  • INCY:

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

Discussion

Computes alpha*A*x + beta*y and stores the results in Y.

See Also

Double-precision float matrix functions