dnormGPU: dnormgpu

Description Usage Arguments Details Value See Also Examples

Description

This function computes the normal distribution density of given vector/matrix

Usage

1
dnormgpu(input, mean = 0, sd = 1)

Arguments

input

list consisting of R external GPU pointer and dimension

mean

vector/matrix of mean

sd

vector/matrix of standard deviation

Details

If mean or sd are not specified they assume the default values of 0 and 1, respectively.

Value

normal distribution density vector/matrix, a list consisting of

See Also

pnormgpu

Examples

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

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