| return_nocpy | R Documentation |
Doing some opration without copying memory
return_nocpy(x) t_nocpy(x)
x |
an object |
return_nocpy: The usage of the return_nocpy is same as return. This feature is for openCL code only,
if it is called in R, the function return() will be called instead
t_nocpy: The function transposes x without allocating the memory. It only works for the openCL code,
if it is called in R, the function t() will be called instead
return_nocpy: No return value
t_nocpy: the transpose of x
x=matrix(0) #return_nocpy(x) #x=t_nocpy(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.