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
Aand the number of elements in vectorsxandy. - ALPHA:
Scaling factor that matrix
Ais multiplied by. - AP:
Matrix
A(in packed storage format). - X:
Vector
x. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - BETA:
Scaling factor that vector
yis multiplied by. - Y:
Vector
y. - INCY:
Stride within
Y. For example, ifincYis 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
cblas_dasum(_:_:_:)cblas_daxpy(_:_:_:_:_:_:)cblas_dcopy(_:_:_:_:_:)cblas_dgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dger(_:_:_:_:_:_:_:_:_:_:)cblas_dnrm2(_:_:_:)cblas_drot(_:_:_:_:_:_:_:)cblas_drotg(_:_:_:_:)cblas_drotm(_:_:_:_:_:_:)cblas_drotmg(_:_:_:_:_:)cblas_dsbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dscal(_:_:_:_:)cblas_dspr(_:_:_:_:_:_:_:)