Matrix Transpose. More...

Functions

AFAPI array transpose (const array &in, const bool conjugate=false)
 Transposes a matrix. More...
 
AFAPI void transposeInPlace (array &in, const bool conjugate=false)
 Transposes a matrix in-place. More...
 
AFAPI af_err af_transpose (af_array *out, af_array in, const bool conjugate)
 Transposes a matrix. More...
 
AFAPI af_err af_transpose_inplace (af_array in, const bool conjugate)
 Transposes a matrix in-place. More...
 

Detailed Description

Matrix Transpose.

Transposes a matrix


Function Documentation

AFAPI af_err af_transpose ( af_array out,
af_array  in,
const bool  conjugate 
)

Transposes a matrix.

This funciton will tranpose the matrix in.

Parameters
[out]outThe transposed matrix
[in]inInput matrix which will be transposed
[in]conjugatePerform a congugate transposition
Returns
AF_SUCCESS if the process is successful.
AFAPI af_err af_transpose_inplace ( af_array  in,
const bool  conjugate 
)

Transposes a matrix in-place.

Transposes a matrix


Parameters
[in,out]inis the matrix to be transposed in place
[in]conjugateIf true a congugate transposition is performed
AFAPI array af::transpose ( const array in,
const bool  conjugate = false 
)

Transposes a matrix.

Transposes a matrix


Parameters
[in]inInput Matrix
[in]conjugateIf true a congugate transposition is performed
Returns
Transposed matrix
Examples:
machine_learning/deep_belief_net.cpp.
AFAPI void af::transposeInPlace ( array in,
const bool  conjugate = false 
)

Transposes a matrix in-place.

Transposes a matrix


Parameters
[in,out]inis the matrix to be transposed in place
[in]conjugateIf true a congugate transposition is performed