Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
stan_print.hpp
Go to the documentation of this file.
1 #ifndef __STAN__AGRAD__REV__MATRIX__STAN_PRINT_HPP__
2 #define __STAN__AGRAD__REV__MATRIX__STAN_PRINT_HPP__
3 
4 #include <ostream>
5 #include <stan/agrad/rev/var.hpp>
6 
7 namespace stan {
8  namespace agrad {
9 
10  void stan_print(std::ostream* o, const var& x) {
11  *o << x.val();
12  }
13 
14  }
15 }
16 #endif

     [ Stan Home Page ] © 2011–2013, Stan Development Team.