Description Usage Arguments Value See Also Examples
This function scales the given vector/matrix by a scalar by using CUDA cublas function cublasDcopy
1 | scalegpu(input, alpha)
|
input |
list consisting of R external GPU pointer and dimension |
alpha |
scale factor |
scaled vector/matrix, a list consisting of
ptr: GPU pointer
m: number of rows
n: number of columns
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.