Stan Math Library
2.20.0
reverse mode automatic differentiation
stan
math
rev
scal
meta
is_var.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_REV_SCAL_META_IS_VAR_HPP
2
#define STAN_MATH_REV_SCAL_META_IS_VAR_HPP
3
4
#include <
stan/math/prim/scal/meta/is_var.hpp
>
5
#include <
stan/math/rev/core.hpp
>
6
7
namespace
stan
{
12
template
<>
13
struct
is_var
<
stan
::
math::var
> {
14
enum
{
value
=
true
};
15
};
16
17
}
// namespace stan
18
#endif
core.hpp
stan::is_var::value
Definition:
is_var.hpp:11
stan
Definition:
log_sum_exp.hpp:8
stan::is_var
Defines a public enum named value which is defined to be false as the primitive scalar types cannot b...
Definition:
is_var.hpp:10
stan::math::var
Independent (input) and dependent (output) variables for gradients.
Definition:
var.hpp:33
is_var.hpp
[
Stan Home Page
]
© 2011–2018, Stan Development Team.