cblas_sspmv(_:_:_:_:_:_:_:_:_:_:)
Scales a packed symmetric matrix, then multiplies by a vector, then scales and adds another vector (single precision).
Declaration
func cblas_sspmv(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: Float, _ AP: UnsafePointer<Float>?, _ X: UnsafePointer<Float>?, _ INCX: __LAPACK_int, _ BETA: Float, _ Y: UnsafeMutablePointer<Float>?, _ 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
Single-precision float matrix functions
cblas_sasum(_:_:_:)cblas_saxpy(_:_:_:_:_:_:)cblas_scopy(_:_:_:_:_:)cblas_sgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_sgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_sgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_sger(_:_:_:_:_:_:_:_:_:_:)cblas_snrm2(_:_:_:)cblas_srot(_:_:_:_:_:_:_:)cblas_srotg(_:_:_:_:)cblas_srotm(_:_:_:_:_:_:)cblas_srotmg(_:_:_:_:_:)cblas_ssbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_sscal(_:_:_:_:)cblas_sspr(_:_:_:_:_:_:_:)