Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
is_uninitialized.hpp
Go to the documentation of this file.
1 #ifndef STAN__AGRAD__REV__FUNCTIONS__IS_UNINITIALIZED_HPP
2 #define STAN__AGRAD__REV__FUNCTIONS__IS_UNINITIALIZED_HPP
3 
4 #include <stan/agrad/rev/var.hpp>
8 
9 namespace stan {
10 
11  namespace agrad {
12 
25  inline bool is_uninitialized(var x) {
26  return x.is_uninitialized();
27  }
28 
29  }
30 }
31 #endif
bool is_uninitialized()
Return true if this variable has been declared, but not been defined.
Definition: var.hpp:51
Independent (input) and dependent (output) variables for gradients.
Definition: var.hpp:27
bool is_uninitialized(var x)
Returns true if the specified variable is uninitialized.

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