Stan Math Library
2.20.0
reverse mode automatic differentiation
stan
math
fwd
scal
meta
is_fvar.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_FWD_SCAL_META_IS_FVAR_HPP
2
#define STAN_MATH_FWD_SCAL_META_IS_FVAR_HPP
3
4
#include <
stan/math/fwd/core.hpp
>
5
#include <
stan/math/prim/scal/meta/is_fvar.hpp
>
6
7
namespace
stan
{
12
template
<
typename
T>
13
struct
is_fvar
<
stan
::
math::fvar
<T> > {
14
enum
{
value
=
true
};
15
};
16
17
}
// namespace stan
18
#endif
core.hpp
stan
Definition:
log_sum_exp.hpp:8
is_fvar.hpp
stan::is_fvar
Defines a public enum named value which is defined to be false as the primitive scalar types cannot b...
Definition:
is_fvar.hpp:10
stan::is_fvar::value
Definition:
is_fvar.hpp:11
stan::math::fvar
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.
Definition:
fvar.hpp:41
[
Stan Home Page
]
© 2011–2018, Stan Development Team.