#include "stan/io/empty_var_context.hpp"
Public Member Functions | |
virtual | ~empty_var_context () |
bool | contains_r (const std::string &name) const |
std::vector< double > | vals_r (const std::string &name) const |
std::vector< size_t > | dims_r (const std::string &name) const |
bool | contains_i (const std::string &name) const |
std::vector< int > | vals_i (const std::string &name) const |
std::vector< size_t > | dims_i (const std::string &name) const |
void | names_r (std::vector< std::string > &names) const |
void | names_i (std::vector< std::string > &names) const |
void | add_vec (std::stringstream &msg, const std::vector< size_t > &dims) const |
void | validate_dims (const std::string &stage, const std::string &name, const std::string &base_type, const std::vector< size_t > &dims_declared) const |
Static Public Member Functions | |
static std::vector< size_t > | to_vec () |
static std::vector< size_t > | to_vec (size_t n1) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3, size_t n4) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3, size_t n4, size_t n5) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3, size_t n4, size_t n5, size_t n6) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3, size_t n4, size_t n5, size_t n6, size_t n7) |
static std::vector< size_t > | to_vec (size_t n1, size_t n2, size_t n3, size_t n4, size_t n5, size_t n6, size_t n7, size_t n8) |
This is an implementation of a var_context that doesn't contain any variables.
Definition at line 15 of file empty_var_context.hpp.
|
inlinevirtual |
|
inlineinherited |
Definition at line 114 of file var_context.hpp.
References MECModelEnuComparisons::i.
Referenced by stan::io::var_context::validate_dims().
|
inlinevirtual |
Return true
if the specified variable name has integer values. Always returns false
.
name | Name of variable. |
Implements stan::io::var_context.
Definition at line 60 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Return true
if the specified variable name is defined. Always returns false
.
name | Name of variable. |
false
Implements stan::io::var_context.
Definition at line 29 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Return the dimensions of the specified floating point variable. Returns an empty vector.
name | Name of variable. |
Implements stan::io::var_context.
Definition at line 81 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Always returns an empty vector.
name | Name of variable. |
Implements stan::io::var_context.
Definition at line 49 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Fill a list of the names of the integer variables in the context. This context has no variables.
names | Vector to store the list of names in. |
Implements stan::io::var_context.
Definition at line 101 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Fill a list of the names of the floating point variables in the context. This context has no variables.
names | Vector to store the list of names in. |
Implements stan::io::var_context.
Definition at line 91 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinestaticinherited |
Definition at line 179 of file var_context.hpp.
Referenced by stan::services::util::read_dense_inv_metric(), stan::services::util::read_diag_inv_metric(), and TEST().
|
inlinestaticinherited |
Definition at line 182 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 187 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 193 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 201 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 210 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 221 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 233 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlinestaticinherited |
Definition at line 247 of file var_context.hpp.
References make_training::n1, and registry_explorer::v.
|
inlineinherited |
Definition at line 124 of file var_context.hpp.
References stan::io::var_context::add_vec(), stan::io::var_context::contains_i(), stan::io::var_context::contains_r(), fetch_tb_beamline_files::dims, stan::io::var_context::dims_r(), MECModelEnuComparisons::i, and lem_server::msg.
Referenced by stan::services::util::read_dense_inv_metric(), stan::services::util::read_diag_inv_metric(), and TEST().
|
inlinevirtual |
Returns an empty vector.
name | Name of variable. |
Implements stan::io::var_context.
Definition at line 70 of file empty_var_context.hpp.
Referenced by TEST().
|
inlinevirtual |
Always returns an empty vector.
name | Name of variable. |
Implements stan::io::var_context.
Definition at line 39 of file empty_var_context.hpp.
Referenced by TEST().