autoppl  v0.8
A C++ template library for probabilistic programming
ppl::expr::dist::details::bern_valid_dim< VarType, PType > Struct Template Reference

#include <bernoulli.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<class VarType, class PType>
struct ppl::expr::dist::details::bern_valid_dim< VarType, PType >

Checks if VarType and PType have proper relative shapes. Currently, only allow up to vector shape (no matrix).

Member Data Documentation

◆ value

template<class VarType , class PType >
constexpr bool ppl::expr::dist::details::bern_valid_dim< VarType, PType >::value
staticconstexpr
Initial value:
=
util::is_shape_v<VarType> &&
(
(util::is_scl_v<VarType> &&
util::is_scl_v<PType>) ||
(util::is_vec_v<VarType> &&
)

The documentation for this struct was generated from the following file:
ppl::expr::dist::details::bern_valid_param_dim::value
static constexpr bool value
Definition: bernoulli.hpp:23