DIRAC: Factory for a DIRAC distribution object

Description Usage Arguments Value Author(s) Examples

Description

Returns an DIRAC distribution object that always return the same number, or the same matrix of numbers in case multiple dimensions are setup

Usage

1
new_DIRAC(p_scalar, p_dimnames = "rvar")

Arguments

p_scalar

A numeric that set the value for the distribution

p_dimnames

A character that represents the name of the dimension

Value

An object of class DISTRIBUTION, DIRAC

Author(s)

John J. Aponte

Examples

1
2
myDistr <- new_DIRAC(1)
myDistr$rfunc(10)

convdistr documentation built on April 20, 2021, 9:06 a.m.