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

◆ to_ref()

template<typename T >
ref_type_t< T && > stan::math::to_ref ( T &&  a)
inline

This evaluates expensive Eigen expressions.

If given expression involves no calculations this is a no-op that should be optimized away.

Template Parameters
Targument type
Parameters
aargument
Returns
optionally evaluated argument

Definition at line 17 of file to_ref.hpp.