1#ifndef STAN_MATH_FWD_FUN_PRIMITIVE_VALUE_HPP
2#define STAN_MATH_FWD_FUN_PRIMITIVE_VALUE_HPP
double primitive_value(const fvar< T > &v)
Return the primitive value of the specified forward-mode autodiff variable.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...