cblas_zhpr2(_:_:_:_:_:_:_:_:_:)
Multiplies a vector times the conjugate transpose of a second vector and vice-versa, sums the results, and adds a matrix.
Declaration
func cblas_zhpr2(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: OpaquePointer, _ X: OpaquePointer?, _ INCX: __LAPACK_int, _ Y: OpaquePointer?, _ INCY: __LAPACK_int, _ AP: OpaquePointer?)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 vector
xis multiplied by. - X:
Vector
x. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - Y:
Vector
y. - INCY:
Stride within
Y. For example, ifincYis 7, every 7th element is used. - AP:
Matrix
Ain packed storage format. Overwritten by the results on return.
Discussion
Calcuates alpha*x*conjg(y') + conjg(alpha)*y*conjg(x') + A, and stores the result in A.
See Also
Double-precision complex matrix functions
cblas_dzasum(_:_:_:)cblas_dznrm2(_:_:_:)cblas_zaxpy(_:_:_:_:_:_:)cblas_zcopy(_:_:_:_:_:)cblas_zdrot(_:_:_:_:_:_:_:)cblas_zdscal(_:_:_:_:)cblas_zgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgerc(_:_:_:_:_:_:_:_:_:_:)cblas_zgeru(_:_:_:_:_:_:_:_:_:_:)cblas_zhbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zhemm(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zhemv(_:_:_:_:_:_:_:_:_:_:_:)cblas_zher(_:_:_:_:_:_:_:_:)