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

◆ var_value() [2/3]

template<typename T >
template<typename S , require_convertible_t< S &, value_type > * = nullptr>
stan::math::var_value< T, require_floating_point_t< T > >::var_value ( x)
inline

Construct a variable from the specified floating point argument by constructing a new vari_value<value_type>.

This constructor is only valid when S is convertible to this vari_value's value_type.

Template Parameters
SA type that is convertible to value_type.
Parameters
xValue of the variable.

Definition at line 82 of file var.hpp.