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

#include <cauchy.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<class VarType, class LocType, class ScaleType>
struct ppl::expr::dist::details::cauchy_valid_dim< VarType, LocType, ScaleType >

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

Member Data Documentation

◆ value

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

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