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

#include <uniform.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<class VarType, class MinType, class MaxType>
struct ppl::expr::dist::details::uniform_valid_dim< VarType, MinType, MaxType >

Checks if var, min, max have proper relative shapes. Currently, we only allow up to vector dimension (no matrix).

Member Data Documentation

◆ value

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

The documentation for this struct was generated from the following file:
ppl::expr::dist::details::uniform_valid_param_dim::value
static constexpr bool value
Definition: uniform.hpp:26