Contents

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 A and the number of elements in vector x.

  • ALPHA:

    Scaling factor that vector x is multiplied by.

  • X:

    Vector x.

  • INCX:

    Stride within X. For example, if incX is 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