Stan  2.14.0
probability, sampling & optimization
is_user_defined.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_IS_USER_DEFINED_HPP
2 #define STAN_LANG_AST_FUN_IS_USER_DEFINED_HPP
3 
4 #include <string>
5 #include <vector>
6 
7 namespace stan {
8  namespace lang {
9 
10  struct expression;
11  struct fun;
12 
19  bool is_user_defined(const fun& fx);
20 
29  bool is_user_defined(const std::string& name,
30  const std::vector<expression>& args);
31 
32  }
33 }
34 #endif
Probability, optimization and sampling library.
bool is_user_defined(const fun &fx)
Return true if the specified function was declared in the functions block.

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