Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ primitive_value() [3/4]

template<typename T >
std::enable_if<!std::is_arithmetic< T >::value, double >::type stan::math::primitive_value ( const T &  x)
inline

Return the primitive value of the specified argument.

This implementation only applies to non-arithmetic types as defined by std library's is_arithmetic trait metaprogram.

Template Parameters
Ttype of non-arithmetic input.
Parameters
xinput.
Returns
value of input.

Definition at line 44 of file primitive_value.hpp.