Stan  2.14.0
probability, sampling & optimization
fun_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_FUN_DEF_HPP
2 #define STAN_LANG_AST_NODE_FUN_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 #include <string>
6 #include <vector>
7 
8 namespace stan {
9  namespace lang {
10 
11  fun::fun() { }
12 
13  fun::fun(const std::string& name, const std::vector<expression>& args)
14  : name_(name), args_(args) { }
15 
16  }
17 }
18 #endif
Probability, optimization and sampling library.
std::vector< expression > args_
Sequence of argument expressions for function.
Definition: fun.hpp:32
fun()
Construct a default function object.
Definition: fun_def.hpp:11
std::string name_
Name of function being applied.
Definition: fun.hpp:21

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