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

◆ var_value() [3/7]

template<typename T >
template<typename S , require_assignable_t< vari_type, typename var_value< S >::vari_type > * = nullptr, require_all_plain_type_t< T, S > * = nullptr>
stan::math::var_value< T, internal::require_matrix_var_value< T > >::var_value ( const var_value< S > &  other)
inline

Copy constructor for var_val when the vari_type from other is directly assignable.

Template Parameters
Stype of the value in the var_value to assing
Parameters
otherthe value to assign
Returns
this

Definition at line 379 of file var.hpp.