Skip to content

Uniform

class Uniform(l:Expression<Real>, u:Expression<Real>) < Distribution<Real>

Uniform distribution.

Factory Functions

Name Description
Uniform Create a uniform distribution.
Uniform Create a uniform distribution.
Uniform Create a uniform distribution.
Uniform Create a uniform distribution.
Uniform Create uniform distribution over integers.
Uniform Create uniform distribution over integers.
Uniform Create uniform distribution over integers.
Uniform Create uniform distribution over integers.

Member Variables

Name Description
l:Expression<Real> Lower bound.
u:Expression<Real> Upper bound.

Factory Function Details

function Uniform(l:Expression<Real>, u:Expression<Real>) -> Uniform

Create a uniform distribution.

function Uniform(l:Expression<Real>, u:Real) -> Uniform

Create a uniform distribution.

function Uniform(l:Real, u:Expression<Real>) -> Uniform

Create a uniform distribution.

function Uniform(l:Real, u:Real) -> Uniform

Create a uniform distribution.

function Uniform(l:Expression<Integer>, u:Expression<Integer>) -> UniformInteger

Create uniform distribution over integers.

function Uniform(l:Expression<Integer>, u:Integer) -> UniformInteger

Create uniform distribution over integers.

function Uniform(l:Integer, u:Expression<Integer>) -> UniformInteger

Create uniform distribution over integers.

function Uniform(l:Integer, u:Integer) -> UniformInteger

Create uniform distribution over integers.