af_transpose

Transpose a matrix. More...

afError af_ctranspose_C (cfloat *d_out, unsigned w, unsigned h, const cfloat *d_in, unsigned batch)
 Single-precision complex-conjugate transpose. More...
 
afError af_ctranspose_Z (cdouble *d_out, unsigned w, unsigned h, const cdouble *d_in, unsigned batch)
 Double-precision complex-conjugate transpose. More...
 

Device pointer interface: Non conjugate transpose

afError af_transpose_B (bool *d_out, unsigned w, unsigned h, const bool *d_in, unsigned batch)
 Boolean (8-bit) transpose (non-conjugated). More...
 
afError af_transpose_I (int *d_out, unsigned w, unsigned h, const int *d_in, unsigned batch)
 32-bit integer transpose. More...
 
afError af_transpose_U (unsigned *d_out, unsigned w, unsigned h, const unsigned *d_in, unsigned batch)
 32-bit unsigned integer transpose. More...
 
afError af_transpose_S (float *d_out, unsigned w, unsigned h, const float *d_in, unsigned batch)
 Single-precision transpose (non-conjugated). More...
 
afError af_transpose_D (double *d_out, unsigned w, unsigned h, const double *d_in, unsigned batch)
 Double-precision transpose (non-conjugated). More...
 
afError af_transpose_C (cfloat *d_out, unsigned w, unsigned h, const cfloat *d_in, unsigned batch)
 Complex single-precision transpose (non-conjugated). More...
 
afError af_transpose_Z (cdouble *d_out, unsigned w, unsigned h, const cdouble *d_in, unsigned batch)
 Complex double-precision transpose (non-conjugated). More...
 

Detailed Description

Transpose a matrix.

This function will transpose a matrix.

Transpose and complex-conjugate transpose of matrices with optional batching.

This function will transpose a matrix.

Transpose of the input matrix without performing the conjugate with optional batching.

Function Documentation

afError af_ctranspose_C ( cfloat d_out,
unsigned  w,
unsigned  h,
const cfloat d_in,
unsigned  batch 
)

Single-precision complex-conjugate transpose.

Parameters
[out]d_outTransposed matrix.
[in]wRows of input (first dimension); columns of output (second dimension).
[in]hColumns of input (second dimension); rows of output (first dimension).
[in]d_inOriginal matrix.
[in]batchNumber of matrix tiles.
afError af_ctranspose_Z ( cdouble d_out,
unsigned  w,
unsigned  h,
const cdouble d_in,
unsigned  batch 
)

Double-precision complex-conjugate transpose.

Parameters
[out]d_outTransposed matrix.
[in]wRows of input (first dimension); columns of output (second dimension).
[in]hColumns of input (second dimension); rows of output (first dimension).
[in]d_inOriginal matrix.
[in]batchNumber of matrix tiles.
afError af_transpose_B ( bool *  d_out,
unsigned  w,
unsigned  h,
const bool *  d_in,
unsigned  batch 
)

Boolean (8-bit) transpose (non-conjugated).

afError af_transpose_I ( int *  d_out,
unsigned  w,
unsigned  h,
const int *  d_in,
unsigned  batch 
)

32-bit integer transpose.

afError af_transpose_U ( unsigned *  d_out,
unsigned  w,
unsigned  h,
const unsigned *  d_in,
unsigned  batch 
)

32-bit unsigned integer transpose.

afError af_transpose_S ( float *  d_out,
unsigned  w,
unsigned  h,
const float *  d_in,
unsigned  batch 
)

Single-precision transpose (non-conjugated).

afError af_transpose_D ( double *  d_out,
unsigned  w,
unsigned  h,
const double *  d_in,
unsigned  batch 
)

Double-precision transpose (non-conjugated).

afError af_transpose_C ( cfloat d_out,
unsigned  w,
unsigned  h,
const cfloat d_in,
unsigned  batch 
)

Complex single-precision transpose (non-conjugated).

afError af_transpose_Z ( cdouble d_out,
unsigned  w,
unsigned  h,
const cdouble d_in,
unsigned  batch 
)

Complex double-precision transpose (non-conjugated).