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

◆ fvar() [2/3]

template<typename T >
template<typename V , std::enable_if_t< ad_promotable< V, T >::value > * = nullptr, require_not_same_t< V, fvar< T > > * = nullptr>
stan::math::fvar< T >::fvar ( const V &  v)
inline

Construct a forward variable with the specified value and zero tangent.

Template Parameters
Vtype of value (must be assignable to T)
Parameters
[in]vvalue

Definition at line 84 of file fvar.hpp.