autoppl  v0.8
A C++ template library for probabilistic programming
ppl::Param< ValueType, ShapeType, ConstraintType > Struct Template Reference

#include <param.hpp>

Detailed Description

template<class ValueType, class ShapeType = ppl::scl, class ConstraintType = expr::constraint::Unconstrained>
struct ppl::Param< ValueType, ShapeType, ConstraintType >

Param is a class template wrapping a ParamView for user-friendly usage. A Param is a ParamView (it views itself). Similar to ParamView, it must be given a shape tag.

Template Parameters
ValueTypeunderlying value type (usually double or int)
ShapeTypeone of the three shape tags.

The documentation for this struct was generated from the following file: