Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
is_uninitialized.hpp
Go to the documentation of this file.
1 #ifndef __STAN__AGRAD__REV__IS_UNINITIALIZED_HPP__
2 #define __STAN__AGRAD__REV__IS_UNINITIALIZED_HPP__
3 
4 #include <stan/agrad/rev/var.hpp>
7 
8 namespace stan {
9  namespace agrad {
10 
11  template <typename T>
12  inline bool is_uninitialized(T x) {
13  return false;
14  }
15  inline bool is_uninitialized(var x) {
16  return x.is_uninitialized();
17  }
18 
19  }
20 }
21 #endif

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