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

Structure for function application. More...

#include <fun.hpp>

Public Member Functions

 fun ()
 Construct a default function object. More...
 
 fun (const std::string &name, const std::vector< expression > &args)
 Construct a function object with the specified name and arguments. More...
 

Public Attributes

std::string name_
 Name of function being applied. More...
 
std::string original_name_
 Original name of function being applied (before name transformation). More...
 
std::vector< expressionargs_
 Sequence of argument expressions for function. More...
 
expr_type type_
 Type of result of applying function to arguments. More...
 

Detailed Description

Structure for function application.

Definition at line 17 of file fun.hpp.

Constructor & Destructor Documentation

§ fun() [1/2]

stan::lang::fun::fun ( )

Construct a default function object.

Definition at line 11 of file fun_def.hpp.

§ fun() [2/2]

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

Construct a function object with the specified name and arguments.

Parameters
namename of function
argssequence of arguments to function

Definition at line 13 of file fun_def.hpp.

Member Data Documentation

§ args_

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

Sequence of argument expressions for function.

Definition at line 32 of file fun.hpp.

§ name_

std::string stan::lang::fun::name_

Name of function being applied.

Definition at line 21 of file fun.hpp.

§ original_name_

std::string stan::lang::fun::original_name_

Original name of function being applied (before name transformation).

Definition at line 27 of file fun.hpp.

§ type_

expr_type stan::lang::fun::type_

Type of result of applying function to arguments.

Definition at line 37 of file fun.hpp.


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

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