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
9
10namespace stan {
11namespace math {
12
44inline var operator+(const var& a) { return a; }
45
46} // namespace math
47} // namespace stan
48#endif
fvar< T > operator+(const fvar< T > &x1, const fvar< T > &x2)
Return the sum of the specified forward mode addends.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...