Stan  2.13.1
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::lang::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 operator< (const expr_type &et) const
 
bool operator<= (const expr_type &et) const
 
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
 
bool is_void () 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 101 of file ast.hpp.

Constructor & Destructor Documentation

§ expr_type() [1/3]

stan::lang::expr_type::expr_type ( )

Definition at line 55 of file ast_def.cpp.

§ expr_type() [2/3]

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

Definition at line 59 of file ast_def.cpp.

§ expr_type() [3/3]

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

Definition at line 63 of file ast_def.cpp.

Member Function Documentation

§ is_ill_formed()

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

Definition at line 107 of file ast_def.cpp.

§ is_primitive()

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

Definition at line 95 of file ast_def.cpp.

§ is_primitive_double()

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

Definition at line 103 of file ast_def.cpp.

§ is_primitive_int()

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

Definition at line 99 of file ast_def.cpp.

§ is_void()

bool stan::lang::expr_type::is_void ( ) const

Definition at line 110 of file ast_def.cpp.

§ num_dims()

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

Definition at line 116 of file ast_def.cpp.

§ operator!=()

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

Definition at line 72 of file ast_def.cpp.

§ operator<()

bool stan::lang::expr_type::operator< ( const expr_type et) const

Definition at line 75 of file ast_def.cpp.

§ operator<=()

bool stan::lang::expr_type::operator<= ( const expr_type et) const

Definition at line 80 of file ast_def.cpp.

§ operator==()

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

Definition at line 68 of file ast_def.cpp.

§ operator>()

bool stan::lang::expr_type::operator> ( const expr_type et) const

Definition at line 85 of file ast_def.cpp.

§ operator>=()

bool stan::lang::expr_type::operator>= ( const expr_type et) const

Definition at line 90 of file ast_def.cpp.

§ type()

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

Definition at line 113 of file ast_def.cpp.

Member Data Documentation

§ base_type_

base_expr_type stan::lang::expr_type::base_type_

Definition at line 102 of file ast.hpp.

§ num_dims_

size_t stan::lang::expr_type::num_dims_

Definition at line 103 of file ast.hpp.


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

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