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

#include <ast.hpp>

Public Member Functions

 conditional_op ()
 
 conditional_op (const expression &cond, const expression &true_val, const expression &false_val)
 
bool is_data () const
 

Public Attributes

expression cond_
 
expression true_val_
 
expression false_val_
 
expr_type type_
 
var_origin origin_
 

Detailed Description

Definition at line 444 of file ast.hpp.

Constructor & Destructor Documentation

stan::lang::conditional_op::conditional_op ( )

Definition at line 1126 of file ast_def.cpp.

stan::lang::conditional_op::conditional_op ( const expression cond,
const expression true_val,
const expression false_val 
)

Definition at line 1127 of file ast_def.cpp.

Member Function Documentation

bool stan::lang::conditional_op::is_data ( ) const

Member Data Documentation

expression stan::lang::conditional_op::cond_

Definition at line 445 of file ast.hpp.

expression stan::lang::conditional_op::false_val_

Definition at line 447 of file ast.hpp.

var_origin stan::lang::conditional_op::origin_

Definition at line 449 of file ast.hpp.

expression stan::lang::conditional_op::true_val_

Definition at line 446 of file ast.hpp.

expr_type stan::lang::conditional_op::type_

Definition at line 448 of file ast.hpp.


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

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