Download GPUmat User Guide
Transcript
CHAPTER 6. Function Reference 6.4. LOW LEVEL FUNCTIONS - ALPHABETICAL LIST 6.4.26 GPUcomplex GPUcomplex - Construct complex data from real and imaginary components SYNTAX GPUcomplex(X, R) GPUcomplex(X,Y,R) X - GPUsingle, GPUdouble Y - GPUsingle, GPUdouble R - GPUsingle, GPUdouble MODULE NAME NUMERICS DESCRIPTION GPUcomplex(X, R) is equivalent to complex(X), but result is returned in the input parameter R. Compilation supported EXAMPLE RE = rand(10,GPUsingle); IM = rand(10,GPUsingle); R = complex(zeros(size(RE), GPUsingle)); GPUcomplex(RE, R); R = complex(RE, IM); 200 GPUmat Guide Version 0.27. Copyright gp-you.org.