cblas_chpr(_:_:_:_:_:_:_:)
Scales and multiplies a vector times its conjugate transpose, then adds a matrix.
Declaration
func cblas_chpr(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: Float, _ X: OpaquePointer?, _ INCX: __LAPACK_int, _ A: 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 vectorx. - ALPHA:
Scaling factor that vector
xis multiplied by. - X:
Vector
x. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - A:
Matrix
A. Overwritten by results on return.
Discussion
Calculates alpha*x*conjg(x') + A and stores the result in A.
See Also
Single-precision complex matrix functions
cblas_caxpy(_:_:_:_:_:_:)cblas_ccopy(_:_:_:_:_:)cblas_cgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgerc(_:_:_:_:_:_:_:_:_:_:)cblas_cgeru(_:_:_:_:_:_:_:_:_:_:)cblas_chbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemm(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemv(_:_:_:_:_:_:_:_:_:_:_:)cblas_cher(_:_:_:_:_:_:_:_:)cblas_cher2(_:_:_:_:_:_:_:_:_:_:)cblas_cher2k(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cherk(_:_:_:_:_:_:_:_:_:_:_:)cblas_chpmv(_:_:_:_:_:_:_:_:_:_:)