Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
CUDALink >

CUDATranspose

CUDATranspose[mat]
transposes input matrix mat.
CUDATranspose[mem]
transposes input CUDAMemory mem.
  • The CUDALink application must be loaded using Needs.
  • works on matrices.
  • works with binary or grayscale images.
  • works with CUDAMemory, but cannot work on fixed vector struct types like , , ....
  • does not work on symbolic input.
First, load the CUDALink application:
This transposes an input matrix:
If input is CUDAMemory, then memory is returned as output:
The transposes the input CUDAMemory:
Memory is retrieved using CUDAMemoryGet:
First, load the CUDALink application:
In[1]:=
Click for copyable input
This transposes an input matrix:
In[2]:=
Click for copyable input
Out[2]//MatrixForm=
 
If input is CUDAMemory, then memory is returned as output:
In[1]:=
Click for copyable input
Out[1]=
The transposes the input CUDAMemory:
In[2]:=
Click for copyable input
Out[2]=
Memory is retrieved using CUDAMemoryGet:
In[3]:=
Click for copyable input
Out[3]=
Input can be an image, but must be single-channeled:
Image components can be split and transposed independently:
The resulting color-separated image can be combined:
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF