dbetagpu: dbetagpu

Description Usage Arguments Value See Also Examples

View source: R/element_wise_math.R

Description

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

Usage

1
dbetagpu(input, k = 1, theta = 1)

Arguments

input

list consisting of R external GPU pointer and dimension

k

shape parameter of Beta distribution; default value 1

theta

scale parameter of Beta distribution; default value 1

Value

beta pdf result of vector/matrix, a list consisting of

See Also

dbetagpu

Examples

1
2
3
4
a <- 1:4
a_gpu <- creategpu(a)
dbetagpu(a_gpu) -> b_gpu
gathergpu(b_gpu)

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