Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
operator_unary_plus.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_REV_CORE_OPERATOR_UNARY_PLUS_HPP
2
#define STAN_MATH_REV_CORE_OPERATOR_UNARY_PLUS_HPP
3
4
#include <
stan/math/prim/meta.hpp
>
5
#include <
stan/math/rev/core/var.hpp
>
6
#include <
stan/math/rev/core/callback_vari.hpp
>
7
#include <
stan/math/prim/fun/constants.hpp
>
8
#include <
stan/math/prim/fun/is_nan.hpp
>
9
10
namespace
stan
{
11
namespace
math {
12
44
inline
var
operator+
(
const
var
& a) {
return
a; }
45
46
}
// namespace math
47
}
// namespace stan
48
#endif
callback_vari.hpp
stan::math::var_value< double >
constants.hpp
stan::math::operator+
fvar< T > operator+(const fvar< T > &x1, const fvar< T > &x2)
Return the sum of the specified forward mode addends.
Definition
operator_addition.hpp:18
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
is_nan.hpp
meta.hpp
var.hpp
stan
math
rev
core
operator_unary_plus.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.