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

#include <ast.hpp>

Public Member Functions

 expr_type ()
 
 expr_type (const base_expr_type base_type)
 
 expr_type (const base_expr_type base_type, size_t num_dims)
 
bool operator== (const expr_type &et) const
 
bool operator!= (const expr_type &et) const
 
bool is_primitive () const
 
bool is_primitive_int () const
 
bool is_primitive_double () const
 
bool is_ill_formed () const
 
base_expr_type type () const
 
size_t num_dims () const
 

Public Attributes

base_expr_type base_type_
 
size_t num_dims_
 

Detailed Description

Definition at line 63 of file ast.hpp.

Constructor & Destructor Documentation

◆ expr_type() [1/3]

stan::gm::expr_type::expr_type ( )

Definition at line 50 of file ast_def.cpp.

◆ expr_type() [2/3]

stan::gm::expr_type::expr_type ( const base_expr_type  base_type)

Definition at line 54 of file ast_def.cpp.

◆ expr_type() [3/3]

stan::gm::expr_type::expr_type ( const base_expr_type  base_type,
size_t  num_dims 
)

Definition at line 58 of file ast_def.cpp.

Member Function Documentation

◆ is_ill_formed()

bool stan::gm::expr_type::is_ill_formed ( ) const

Definition at line 82 of file ast_def.cpp.

◆ is_primitive()

bool stan::gm::expr_type::is_primitive ( ) const

Definition at line 70 of file ast_def.cpp.

◆ is_primitive_double()

bool stan::gm::expr_type::is_primitive_double ( ) const

Definition at line 78 of file ast_def.cpp.

◆ is_primitive_int()

bool stan::gm::expr_type::is_primitive_int ( ) const

Definition at line 74 of file ast_def.cpp.

◆ num_dims()

size_t stan::gm::expr_type::num_dims ( ) const

Definition at line 88 of file ast_def.cpp.

◆ operator!=()

bool stan::gm::expr_type::operator!= ( const expr_type et) const

Definition at line 67 of file ast_def.cpp.

◆ operator==()

bool stan::gm::expr_type::operator== ( const expr_type et) const

Definition at line 63 of file ast_def.cpp.

◆ type()

base_expr_type stan::gm::expr_type::type ( ) const

Definition at line 85 of file ast_def.cpp.

Member Data Documentation

◆ base_type_

base_expr_type stan::gm::expr_type::base_type_

Definition at line 64 of file ast.hpp.

◆ num_dims_

size_t stan::gm::expr_type::num_dims_

Definition at line 65 of file ast.hpp.


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

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