Contents

cblas_zhpmv(_:_:_:_:_:_:_:_:_:_:)

Scales a packed hermitian matrix, multiplies it by a vector, and adds a scaled vector.

Declaration

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

    Order of matrix A and the number of elements in vectors x and y.

  • ALPHA:

    Scaling factor that matrix A is multiplied by.

  • AP:

    Matrix A.

  • X:

    Vector x.

  • INCX:

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

  • BETA:

    Scaling factor that vector y is multiplied by.

  • Y:

    Vector y.

  • INCY:

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

Discussion

Computes alpha*A*x + beta*y and stores the results in Y.

See Also

Double-precision complex matrix functions