Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
fun
infer_type_indexing.hpp
Go to the documentation of this file.
1
#ifndef STAN_LANG_AST_FUN_INFER_TYPE_INDEXING_HPP
2
#define STAN_LANG_AST_FUN_INFER_TYPE_INDEXING_HPP
3
4
5
6
#include <
stan/lang/ast/base_expr_type.hpp
>
7
#include <
stan/lang/ast/expr_type.hpp
>
8
#include <cstddef>
9
10
namespace
stan
{
11
namespace
lang {
12
13
struct
expression;
14
26
expr_type
infer_type_indexing
(
const
base_expr_type
& base_type,
27
std::size_t dims, std::size_t num_indexes);
28
29
30
31
40
expr_type
infer_type_indexing
(
const
expression& expr,
41
std::size_t num_indexes);
42
}
43
}
44
#endif
expr_type.hpp
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::lang::infer_type_indexing
expr_type infer_type_indexing(const base_expr_type &base_type, std::size_t dims, std::size_t num_indexes)
Return the expression type resulting from indexing an expression of the specified base type and numbe...
stan::lang::base_expr_type
int base_expr_type
The type of a base expression.
Definition:
base_expr_type.hpp:12
base_expr_type.hpp
[
Stan Home Page
]
© 2011–2016, Stan Development Team.