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

Structure to hold a row vector variable declaration. More...

#include <row_vector_var_decl.hpp>

Inheritance diagram for stan::lang::row_vector_var_decl:
stan::lang::base_var_decl

Public Member Functions

 row_vector_var_decl ()
 Construct a row vector variable declaration with default values. More...
 
 row_vector_var_decl (const range &range, const expression &N, const std::string &name, const std::vector< expression > &dims, const expression &def)
 Construct a row vector with the specified range constraint (which has optional lower and upper bounds), number of columns (size), name, array dimensions, and definition (which may be nil to indicate it is not initialized) . More...
 
- Public Member Functions inherited from stan::lang::base_var_decl
 base_var_decl ()
 Construct a default base variable declaration. More...
 
 base_var_decl (const base_expr_type &base_type)
 Construct a base variable declaration of the specified type. More...
 
 base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type)
 Construct a base variable declaration with the specified name, dimensions, and base type. More...
 
 base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type, const expression &def)
 Construct a base variable declaration with the specified name, dimensions, base type, and definition. More...
 

Public Attributes

range range_
 Option lower and upper bounds for values in the vector. More...
 
expression N_
 Number of columns in the row vector (its size). More...
 
- Public Attributes inherited from stan::lang::base_var_decl
std::string name_
 Name of the variable. More...
 
std::vector< expressiondims_
 Dimension sizes for variable. More...
 
base_expr_type base_type_
 Base type for variable. More...
 
expression def_
 Definition for variable (nil if undefined). More...
 

Detailed Description

Structure to hold a row vector variable declaration.

Definition at line 16 of file row_vector_var_decl.hpp.

Constructor & Destructor Documentation

§ row_vector_var_decl() [1/2]

stan::lang::row_vector_var_decl::row_vector_var_decl ( )

Construct a row vector variable declaration with default values.

Definition at line 11 of file row_vector_var_decl_def.hpp.

§ row_vector_var_decl() [2/2]

stan::lang::row_vector_var_decl::row_vector_var_decl ( const range range,
const expression N,
const std::string &  name,
const std::vector< expression > &  dims,
const expression def 
)

Construct a row vector with the specified range constraint (which has optional lower and upper bounds), number of columns (size), name, array dimensions, and definition (which may be nil to indicate it is not initialized) .

Parameters
rangeoptional upper and lower bound on values
Nnumber of columns (size)
namevariable name
dimsnumber of array dimensions
defdefinition

Definition at line 13 of file row_vector_var_decl_def.hpp.

Member Data Documentation

§ N_

expression stan::lang::row_vector_var_decl::N_

Number of columns in the row vector (its size).

Definition at line 25 of file row_vector_var_decl.hpp.

§ range_

range stan::lang::row_vector_var_decl::range_

Option lower and upper bounds for values in the vector.

Definition at line 20 of file row_vector_var_decl.hpp.


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

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