autoppl  v0.8
A C++ template library for probabilistic programming
param.hpp File Reference

Go to the source code of this file.

Classes

struct  ppl::details::ParamInfoPack
 
struct  ppl::ParamView< ValueType, ShapeType, ConstraintType >
 
struct  ppl::Param< ValueType, ShapeType, ConstraintType >
 
struct  ppl::Param< ValueType, ppl::scl, ConstraintType >
 
struct  ppl::Param< ValueType, ppl::vec, ConstraintType >
 
struct  ppl::Param< ValueType, ppl::mat, ConstraintType >
 

Namespaces

 ppl
 
 ppl::details
 

Macros

#define PPL_PARAMVIEW_SHAPE_UNSUPPORTED    "Unsupported shape for ParamView. "
 
#define PPL_PARAM_SHAPE_UNSUPPORTED    "Unsupported shape for Param. "
 

Functions

template<class ValueType , class ShapeType = scl, class ConstraintType = expr::constraint::Unconstrained>
constexpr auto ppl::make_param (size_t rows, size_t cols, const ConstraintType &c=ConstraintType())
 
template<class ValueType , class ShapeType = scl, class ConstraintType = expr::constraint::Unconstrained>
constexpr auto ppl::make_param (size_t rows, const ConstraintType &c=ConstraintType())
 
template<class ValueType , class ShapeType = scl, class ConstraintType = expr::constraint::Unconstrained>
constexpr auto ppl::make_param (const ConstraintType &c=ConstraintType())
 

Macro Definition Documentation

◆ PPL_PARAM_SHAPE_UNSUPPORTED

#define PPL_PARAM_SHAPE_UNSUPPORTED    "Unsupported shape for Param. "

◆ PPL_PARAMVIEW_SHAPE_UNSUPPORTED

#define PPL_PARAMVIEW_SHAPE_UNSUPPORTED    "Unsupported shape for ParamView. "