![]() |
Stan Math Library
2.14.0
reverse mode automatic differentiation
|
Template metaprogram to calculate whether a summand needs to be included in a proportional (log) probability calculation. More...
#include <include_summand.hpp>
Public Types | |
enum | { value } |
true if a term with the specified propto value and subterm types should be included in a proportionality calculation. More... | |
Template metaprogram to calculate whether a summand needs to be included in a proportional (log) probability calculation.
For usage, the first boolean parameter should be set to true
if calculating a term up to proportionality. Other type parameters should be included for all of the types of variables in a term.
The value
enum will be true
if the propto
parameter is false
or if any of the other template arguments are not constants as defined by stan::is_constant<T>
.
propto | true if calculating up to a proportionality constant. |
T1 | First |
Definition at line 35 of file include_summand.hpp.
anonymous enum |
true
if a term with the specified propto value and subterm types should be included in a proportionality calculation.
Enumerator | |
---|---|
value |
Definition at line 41 of file include_summand.hpp.