Do more. Code less. Free software for GPU computing.
<scroll to top>

QR

Factorization

QR Decomposition done in place. More...

Device pointer interface: qr decomposition

Parameters:
[out]d_tauVector on device. Size: min(m, n). contains Additional information about d_Q
[out]d_RThe upper triangular matrix. Size: (k, n)
[in,out]d_QIf d_R isn't NULL, d_Q contains orthogonal matrix. Size: (m, k) if d_R is NULL, d_Q contains the packed version of qr decomposition. Size: (m, n)
[in]mnumber of rows in the input
[in]nnumber of columns in the input
[in]knumber of columns to be calculated in the orthogonal matrix.
[in]batchNumber of tiles of input being handled.

afError af_qr_S (float *d_tau, float *d_R, float *d_Q, unsigned m, unsigned n, unsigned k, unsigned batch)
 qr decomposition on single precision data.
afError af_qr_C (cuComplex *d_tau, cuComplex *d_R, cuComplex *d_Q, unsigned m, unsigned n, unsigned k, unsigned batch)
 qr decomposition on single precision, complex data. DLA license required.
afError af_qr_D (double *d_tau, double *d_R, double *d_Q, unsigned m, unsigned n, unsigned k, unsigned batch)
 qr decomposition on double precision data. DLA license required.
afError af_qr_Z (cuDoubleComplex *d_tau, cuDoubleComplex *d_R, cuDoubleComplex *d_Q, unsigned m, unsigned n, unsigned k, unsigned batch)
 qr decomposition on double precision, complex data. DLA license required.

Detailed Description

QR Decomposition done in place.

Double-precision or complex input requires ArrayFire Pro.


Function Documentation

afError af_qr_S ( float *  d_tau,
float *  d_R,
float *  d_Q,
unsigned  m,
unsigned  n,
unsigned  k,
unsigned  batch 
)

qr decomposition on single precision data.

if d_R is NULL, DLA license not required, else required.

afError af_qr_C ( cuComplex *  d_tau,
cuComplex *  d_R,
cuComplex *  d_Q,
unsigned  m,
unsigned  n,
unsigned  k,
unsigned  batch 
)

qr decomposition on single precision, complex data. DLA license required.

afError af_qr_D ( double *  d_tau,
double *  d_R,
double *  d_Q,
unsigned  m,
unsigned  n,
unsigned  k,
unsigned  batch 
)

qr decomposition on double precision data. DLA license required.

afError af_qr_Z ( cuDoubleComplex *  d_tau,
cuDoubleComplex *  d_R,
cuDoubleComplex *  d_Q,
unsigned  m,
unsigned  n,
unsigned  k,
unsigned  batch 
)

qr decomposition on double precision, complex data. DLA license required.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines