Namespaces | Functions
StanUtils.h File Reference
#include "Utilities/func/Stan.h"

Go to the source code of this file.

Namespaces

 util
 Filter events based on their run/event numbers.
 

Functions

template<typename T >
T util::GetValAs (const stan::math::var &val)
 explicit specialization for double return value More...
 
template<>
double util::GetValAs (const stan::math::var &val)
 explicit specialization for double return value More...
 
template<>
stan::math::var util::GetValAs (const stan::math::var &val)
 explicit specialization for stan::math::var return value More...
 
template<typename T >
std::enable_if< std::is_convertible< T, double >::value, T >::type util::GetValAs (double val)
 
void util::SetVal (double &target, const stan::math::var &source)
 Replacement for operator=() making it clear that you're 'casting' across double-stan::math::var boundary. More...
 
void util::SetVal (stan::math::var &target, const double &source)
 
void util::SetVal (stan::math::var &target, const stan::math::var &source)
 
void util::SetVal (double &target, const double &source)