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

LU

Factorization

LU Decomposition done in place. More...

Device pointer interface: lu Decomposition

Parameters:
[out]d_pivArray of the pivot indices. Size: min(m, n)
[out]d_UThe upper triangular matrix. Siz: size(min(m,n), n)
[in,out]d_LIf d_U isn't NULL, d_L (Size: (m, n)) contains lower triangular matrix. If d_U is NULL, d_L (Firse m x min(m,n) elements) contain the packed version of lu decomposition.
[in]mnumber of rows in the input
[in]nnumber of columns in the input
[in]batchNumber of tiles of input being handled.

afError af_lu_S (int *d_piv, float *d_U, float *d_L, unsigned m, unsigned n, unsigned batch)
 lu Decomposition on single precision data. No DLA license required.
afError af_lu_C (int *d_piv, cuComplex *d_U, cuComplex *d_L, unsigned m, unsigned n, unsigned batch)
 lu Decomposition on single precision, complex data. DLA license required.
afError af_lu_D (int *d_piv, double *d_U, double *d_L, unsigned m, unsigned n, unsigned batch)
 lu Decomposition on double precision data. DLA license required.
afError af_lu_Z (int *d_piv, cuDoubleComplex *d_U, cuDoubleComplex *d_L, unsigned m, unsigned n, unsigned batch)
 lu Decomposition on double precision, complex data. DLA license required.

Detailed Description

LU Decomposition done in place.

Double-precision or complex input requires ArrayFire Pro.


Function Documentation

afError af_lu_S ( int *  d_piv,
float *  d_U,
float *  d_L,
unsigned  m,
unsigned  n,
unsigned  batch 
)

lu Decomposition on single precision data. No DLA license required.

afError af_lu_C ( int *  d_piv,
cuComplex *  d_U,
cuComplex *  d_L,
unsigned  m,
unsigned  n,
unsigned  batch 
)

lu Decomposition on single precision, complex data. DLA license required.

afError af_lu_D ( int *  d_piv,
double *  d_U,
double *  d_L,
unsigned  m,
unsigned  n,
unsigned  batch 
)

lu Decomposition on double precision data. DLA license required.

afError af_lu_Z ( int *  d_piv,
cuDoubleComplex *  d_U,
cuDoubleComplex *  d_L,
unsigned  m,
unsigned  n,
unsigned  batch 
)

lu Decomposition on double precision, complex data. DLA license required.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines