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

◆ as_operation_cl() [2/4]

template<assign_op_cl AssignOp = assign_op_cl::equals, typename T_scalar , typename = require_arithmetic_t<T_scalar>, require_not_same_t< T_scalar, bool > * = nullptr>
scalar_< T_scalar > stan::math::as_operation_cl ( const T_scalar  a)
inline

Converts any valid kernel generator expression into an operation.

This is an overload for scalars (arithmetic types). It wraps them into scalar_.

Template Parameters
AssignOpignored
T_scalartype of the input scalar
Parameters
ascalar
Returns
scalar_ wrapping the input

Definition at line 46 of file as_operation_cl.hpp.