Automatic Differentiation
 
Loading...
Searching...
No Matches
value_of_rec.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_FWD_FUN_VALUE_OF_REC_HPP
2#define STAN_MATH_FWD_FUN_VALUE_OF_REC_HPP
3
7
8namespace stan {
9namespace math {
10
19template <typename T>
20inline double value_of_rec(const fvar<T>& v) {
21 return value_of_rec(v.val_);
22}
23
24} // namespace math
25} // namespace stan
26#endif
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Definition fvar.hpp:49
This template class represents scalars used in forward-mode automatic differentiation,...
Definition fvar.hpp:40