Stan  1.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::gm::fun Struct Reference

#include <ast.hpp>

Public Member Functions

 fun ()
 
 fun (std::string const &name, std::vector< expression > const &args)
 
void infer_type ()
 

Public Attributes

std::string name_
 
std::vector< expressionargs_
 
expr_type type_
 

Detailed Description

Definition at line 297 of file ast.hpp.

Constructor & Destructor Documentation

◆ fun() [1/2]

stan::gm::fun::fun ( )

Definition at line 459 of file ast_def.cpp.

◆ fun() [2/2]

stan::gm::fun::fun ( std::string const &  name,
std::vector< expression > const &  args 
)

Definition at line 460 of file ast_def.cpp.

Member Function Documentation

◆ infer_type()

void stan::gm::fun::infer_type ( )

Definition at line 466 of file ast_def.cpp.

Member Data Documentation

◆ args_

std::vector<expression> stan::gm::fun::args_

Definition at line 299 of file ast.hpp.

◆ name_

std::string stan::gm::fun::name_

Definition at line 298 of file ast.hpp.

◆ type_

expr_type stan::gm::fun::type_

Definition at line 300 of file ast.hpp.


The documentation for this struct was generated from the following files:

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