All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Groups
value_of_rec.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_FWD_SCAL_FUN_VALUE_OF_REC_HPP
#define STAN_MATH_FWD_SCAL_FUN_VALUE_OF_REC_HPP
#include <stan/math/prim/scal/fun/value_of_rec.hpp>
#include <stan/math/fwd/core.hpp>
namespace stan {
namespace math {
template <typename T>
inline double value_of_rec(const fvar<T>& v) {
using stan::math::value_of_rec;
return value_of_rec(v.val_);
}
}
}
#endif
core.hpp
stan::math::value_of_rec
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
Definition: value_of_rec.hpp:21
stan::math::fvar::val_
T val_
Definition: fvar.hpp:14
value_of_rec.hpp
stan::math::fvar
Definition: fvar.hpp:13

[ Stan Home Page ] © 2011–2015, Stan Development Team.