Automatic Differentiation
 
Loading...
Searching...
No Matches
stan_print.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_FUN_STAN_PRINT_HPP
2#define STAN_MATH_REV_FUN_STAN_PRINT_HPP
3
6#include <ostream>
7
8namespace stan {
9namespace math {
10
11inline void stan_print(std::ostream* o, const var& x) { *o << x.val(); }
12
13} // namespace math
14} // namespace stan
15#endif
void stan_print(std::ostream *o, const T &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...