MAGMA 2.9.0
Matrix Algebra for GPU and Multicore Architectures
Loading...
Searching...
No Matches

\(A = \alpha xy^T + \alpha yx^T + A\) More...

Functions

void magma_cher2 (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue)
 Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A, \) where \( A \) is Hermitian.
 
void magma_zher2 (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex alpha, magmaDoubleComplex_const_ptr dx, magma_int_t incx, magmaDoubleComplex_const_ptr dy, magma_int_t incy, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_queue_t queue)
 Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A, \) where \( A \) is Hermitian.
 

Detailed Description

\(A = \alpha xy^T + \alpha yx^T + A\)

Function Documentation

◆ magma_cher2()

void magma_cher2 ( magma_uplo_t uplo,
magma_int_t n,
magmaFloatComplex alpha,
magmaFloatComplex_const_ptr dx,
magma_int_t incx,
magmaFloatComplex_const_ptr dy,
magma_int_t incy,
magmaFloatComplex_ptr dA,
magma_int_t ldda,
magma_queue_t queue )

Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A, \) where \( A \) is Hermitian.

Parameters
[in]uploWhether the upper or lower triangle of A is referenced.
[in]nNumber of rows and columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[in]dyCOMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in,out]dACOMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.

◆ magma_zher2()

void magma_zher2 ( magma_uplo_t uplo,
magma_int_t n,
magmaDoubleComplex alpha,
magmaDoubleComplex_const_ptr dx,
magma_int_t incx,
magmaDoubleComplex_const_ptr dy,
magma_int_t incy,
magmaDoubleComplex_ptr dA,
magma_int_t ldda,
magma_queue_t queue )

Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A, \) where \( A \) is Hermitian.

Parameters
[in]uploWhether the upper or lower triangle of A is referenced.
[in]nNumber of rows and columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX_16 array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[in]dyCOMPLEX_16 array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in,out]dACOMPLEX_16 array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.