MAGMA  2.3.0 Matrix Algebra for GPU and Multicore Architectures

$$A = \alpha xx^T + A$$ More...

## Functions

void magma_cher (magma_uplo_t uplo, magma_int_t n, float alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue)
Perform Hermitian rank-1 update, $$A = \alpha x x^H + A,$$ where $$A$$ is Hermitian. More...

void magma_zher (magma_uplo_t uplo, magma_int_t n, double alpha, magmaDoubleComplex_const_ptr dx, magma_int_t incx, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_queue_t queue)
Perform Hermitian rank-1 update, $$A = \alpha x x^H + A,$$ where $$A$$ is Hermitian. More...

## Detailed Description

$$A = \alpha xx^T + A$$

## Function Documentation

 void magma_cher ( magma_uplo_t uplo, magma_int_t n, float alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue )

Perform Hermitian rank-1 update, $$A = \alpha x x^H + A,$$ where $$A$$ is Hermitian.

Parameters
 [in] uplo Whether the upper or lower triangle of A is referenced. [in] n Number of rows and columns of A. n >= 0. [in] alpha Scalar $$\alpha$$ [in] dx COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). [in] incx Stride between consecutive elements of dx. incx != 0. [in,out] dA COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. [in] ldda Leading dimension of dA. [in] queue magma_queue_t Queue to execute in.
 void magma_zher ( magma_uplo_t uplo, magma_int_t n, double alpha, magmaDoubleComplex_const_ptr dx, magma_int_t incx, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_queue_t queue )

Perform Hermitian rank-1 update, $$A = \alpha x x^H + A,$$ where $$A$$ is Hermitian.

Parameters
 [in] uplo Whether the upper or lower triangle of A is referenced. [in] n Number of rows and columns of A. n >= 0. [in] alpha Scalar $$\alpha$$ [in] dx COMPLEX_16 array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). [in] incx Stride between consecutive elements of dx. incx != 0. [in,out] dA COMPLEX_16 array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. [in] ldda Leading dimension of dA. [in] queue magma_queue_t Queue to execute in.