Stan Math Library
2.12.0
reverse mode automatic differentiation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
stan
math
prim
scal
meta
child_type.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_META_CHILD_TYPE_HPP
2
#define STAN_MATH_PRIM_SCAL_META_CHILD_TYPE_HPP
3
4
namespace
stan
{
5
namespace
math {
6
17
template
<
typename
T>
18
struct
child_type
{
19
typedef
double
type
;
20
};
21
32
template
<
template
<
typename
>
class
T_struct,
typename
T_child>
33
struct
child_type
<T_struct<T_child> >{
34
typedef
T_child
type
;
35
};
36
37
}
38
}
39
40
#endif
stan
Definition:
log_sum_exp.hpp:8
stan::math::child_type< T_struct< T_child > >::type
T_child type
Definition:
child_type.hpp:34
stan::math::child_type::type
double type
Definition:
child_type.hpp:19
stan::math::child_type
Primary template class for metaprogram to compute child type of T.
Definition:
child_type.hpp:18
[
Stan Home Page
]
© 2011–2016, Stan Development Team.