varGPU: vargpu

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Compute the variance of given vector/matrix

Usage

1
vargpu(x)

Arguments

x

list consisting of R external GPU pointer and dimension

Details

This function computes the variance of given vector/matrix by using self-defined CUDA function

Value

vector/matrix variance

Author(s)

Yuan Li

See Also

sumgpu

Examples

1
2
a <- creategpu(1:4)
vargpu(a)

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