![]() |
Stan Math Library
2.11.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 36 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 42 of file include_summand.hpp.