Stan  2.14.0
probability, sampling & optimization
is_assignable.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_IS_ASSIGNABLE_HPP
2 #define STAN_LANG_AST_FUN_IS_ASSIGNABLE_HPP
3 
4 #include <string>
5 #include <ostream>
6 
7 namespace stan {
8  namespace lang {
9 
10  struct expr_type;
11 
26  bool is_assignable(const expr_type& l_type, const expr_type& r_type,
27  const std::string& failure_message,
28  std::ostream& error_msgs);
29 
30  }
31 }
32 #endif
Probability, optimization and sampling library.
bool is_assignable(const expr_type &l_type, const expr_type &r_type, const std::string &failure_message, std::ostream &error_msgs)
Return true if an expression of the right-hand side type is assignable to a variable of the left-hand...

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