inverseGPU: inversegpu

Description Usage Arguments Value See Also Examples

Description

This function computes the inversion of given matrix (squared) by using CUDA cublas function cublasDgetrfBatched and cublasDgetriBatched (LU decomposition)

Usage

1

Arguments

X

input matrix; list of R external GPU pointer and dimension

Value

matrix inversion, a list consisting of

See Also

mmgpu creategpu

Examples

1
2
3
4
a <- 1:9
a_gpu <- creategpu(a, 3, 3)
inversegpu(a_gpu) -> c_gpu
gathergpu(c_gpu)

yuanli22/RCUDA documentation built on May 4, 2019, 6:35 p.m.