Description Usage Arguments Value See Also Examples
This function computes the inversion of given matrix (squared) by using CUDA cublas function cublasDgetrfBatched and cublasDgetriBatched (LU decomposition)
1 | inversegpu(X)
|
X |
input matrix; list of R external GPU pointer and dimension |
matrix inversion, a list consisting of
ptr: GPU pointer
m: number of rows
n: number of columns
1 2 3 4 | a <- 1:9
a_gpu <- creategpu(a, 3, 3)
inversegpu(a_gpu) -> c_gpu
gathergpu(c_gpu)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.