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

#include <ast.hpp>

Public Member Functions

 sample ()
 
 sample (expression &e, distribution &dist)
 
bool is_ill_formed () const
 
bool is_discrete () const
 

Public Attributes

expression expr_
 
distribution dist_
 
range truncation_
 
bool is_discrete_
 

Detailed Description

Definition at line 1065 of file ast.hpp.

Constructor & Destructor Documentation

§ sample() [1/2]

stan::lang::sample::sample ( )

Definition at line 1984 of file ast_def.cpp.

§ sample() [2/2]

stan::lang::sample::sample ( expression e,
distribution dist 
)

Definition at line 1986 of file ast_def.cpp.

Member Function Documentation

§ is_discrete()

bool stan::lang::sample::is_discrete ( ) const

Definition at line 1999 of file ast_def.cpp.

§ is_ill_formed()

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

Definition at line 1991 of file ast_def.cpp.

Member Data Documentation

§ dist_

distribution stan::lang::sample::dist_

Definition at line 1067 of file ast.hpp.

§ expr_

expression stan::lang::sample::expr_

Definition at line 1066 of file ast.hpp.

§ is_discrete_

bool stan::lang::sample::is_discrete_

Definition at line 1069 of file ast.hpp.

§ truncation_

range stan::lang::sample::truncation_

Definition at line 1068 of file ast.hpp.


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

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