Contents

cblas_zher2(_:_:_:_:_:_:_:_:_:_:)

Hermitian rank 2 update: adds the product of a scaling factor, vector X, and the conjugate transpose of vector Y to the product of the conjugate of the scaling factor, vector Y, and the conjugate transpose of vector X, and adds the result to matrix A.

Declaration

func cblas_zher2(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: OpaquePointer, _ X: OpaquePointer?, _ INCX: __LAPACK_int, _ Y: OpaquePointer?, _ INCY: __LAPACK_int, _ A: OpaquePointer?, _ LDA: __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:

    The order of matrix A.

  • ALPHA:

    The scaling factor α.

  • X:

    Vector X.

  • INCX:

    Stride within X. For example, if incX is 7, every 7th element is used.

  • Y:

    Vector Y.

  • INCY:

    Stride within Y. For example, if incY is 7, every 7th element is used.

  • A:

    Matrix A.

  • LDA:

    The leading dimension of matrix A.

Discussion

Computes A←αX*conjg(Y') + conjg(α)*Y*conjg(X') + A.

See Also

Double-precision complex matrix functions