MAGMA  2.7.1
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages
ger: General matrix rank 1 update

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

Functions

void magma_cgerc (magma_int_t m, 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 rank-1 update, \( A = \alpha x y^H + A \). More...
 
void magma_cgeru (magma_int_t m, 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 rank-1 update (unconjugated), \( A = \alpha x y^T + A \). More...
 
void magma_dger (magma_int_t m, magma_int_t n, double alpha, magmaDouble_const_ptr dx, magma_int_t incx, magmaDouble_const_ptr dy, magma_int_t incy, magmaDouble_ptr dA, magma_int_t ldda, magma_queue_t queue)
 Perform rank-1 update (unconjugated), \( A = \alpha x y^T + A \). More...
 
void magma_sger (magma_int_t m, magma_int_t n, float alpha, magmaFloat_const_ptr dx, magma_int_t incx, magmaFloat_const_ptr dy, magma_int_t incy, magmaFloat_ptr dA, magma_int_t ldda, magma_queue_t queue)
 Perform rank-1 update (unconjugated), \( A = \alpha x y^T + A \). More...
 
void magma_zgerc (magma_int_t m, 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 rank-1 update, \( A = \alpha x y^H + A \). More...
 
void magma_zgeru (magma_int_t m, 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 rank-1 update (unconjugated), \( A = \alpha x y^T + A \). More...
 

Detailed Description

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

Function Documentation

void magma_cgerc ( magma_int_t  m,
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 rank-1 update, \( A = \alpha x y^H + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX array on GPU device. The m element vector x of dimension (1 + (m-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 on GPU device. The m-by-n matrix A of dimension (ldda,n), ldda >= max(1,m).
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.
void magma_cgeru ( magma_int_t  m,
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 rank-1 update (unconjugated), \( A = \alpha x y^T + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX array on GPU device. The m element vector x of dimension (1 + (m-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,m). The m-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.
void magma_dger ( magma_int_t  m,
magma_int_t  n,
double  alpha,
magmaDouble_const_ptr  dx,
magma_int_t  incx,
magmaDouble_const_ptr  dy,
magma_int_t  incy,
magmaDouble_ptr  dA,
magma_int_t  ldda,
magma_queue_t  queue 
)

Perform rank-1 update (unconjugated), \( A = \alpha x y^T + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxDOUBLE PRECISION array on GPU device. The m element vector x of dimension (1 + (m-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[in]dyDOUBLE PRECISION 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]dADOUBLE PRECISION array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.
void magma_sger ( magma_int_t  m,
magma_int_t  n,
float  alpha,
magmaFloat_const_ptr  dx,
magma_int_t  incx,
magmaFloat_const_ptr  dy,
magma_int_t  incy,
magmaFloat_ptr  dA,
magma_int_t  ldda,
magma_queue_t  queue 
)

Perform rank-1 update (unconjugated), \( A = \alpha x y^T + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxREAL array on GPU device. The m element vector x of dimension (1 + (m-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[in]dyREAL 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]dAREAL array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.
void magma_zgerc ( magma_int_t  m,
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 rank-1 update, \( A = \alpha x y^H + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX_16 array on GPU device. The m element vector x of dimension (1 + (m-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 on GPU device. The m-by-n matrix A of dimension (ldda,n), ldda >= max(1,m).
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.
void magma_zgeru ( magma_int_t  m,
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 rank-1 update (unconjugated), \( A = \alpha x y^T + A \).

Parameters
[in]mNumber of rows of A. m >= 0.
[in]nNumber of columns of A. n >= 0.
[in]alphaScalar \( \alpha \)
[in]dxCOMPLEX_16 array on GPU device. The m element vector x of dimension (1 + (m-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,m). The m-by-n matrix A, on GPU device.
[in]lddaLeading dimension of dA.
[in]queuemagma_queue_t Queue to execute in.