cblas_dspr(_:_:_:_:_:_:_:)
Rank one update: adds a packed symmetric matrix to the product of a scaling factor, a vector, and its transpose (double precision).
Declaration
func cblas_dspr(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int, _ AP: UnsafeMutablePointer<Double>?)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; number of elements in vectorx. - ALPHA:
Scaling factor to multiply
xby. - X:
Vector
x. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - AP:
Matrix
A(in packed storage format).
Discussion
Calculates A + alpha*x*x and stores the result in A.
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_dspmv(_:_:_:_:_:_:_:_:_:_:)