Skip to content

Distribution definition in BLOG. #148

Open
@lileicc

Description

@lileicc

In BLOG, we define some library module with the following statement

distribution Real Gaussian(Real mu, Real std) = Gaussian(mu, std);

It defines a Gaussian distribution, with two Real parameters, and a Real return value. Its implementation is the Gaussian class (which is blog.distrib.Gaussian).
Equivalently, we could also state

distribution Real Gaussian(Real mu, Real std) = blog.distrib.Gaussian(mu, std);

Related to #136 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions