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

◆ fvar() [3/3]

template<typename T >
template<typename V , typename D >
stan::math::fvar< T >::fvar ( const V &  v,
const D &  d 
)
inline

Construct a forward variable with the specified value and tangent.

Template Parameters
Vtype of value (must be assignable to class type T)
Dtype of tangent (must be assignable class type T)
Parameters
[in]vvalue
[in]dtangent

Definition at line 96 of file fvar.hpp.