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

◆ as_operation_cl() [3/4]

template<assign_op_cl AssignOp = assign_op_cl::equals>
scalar_< char > stan::math::as_operation_cl ( const bool  a)
inline

Converts any valid kernel generator expression into an operation.

This is an overload for bool scalars. It wraps them into scalar_<char> as bool can not be used as a type of a kernel argument.

Template Parameters
AssignOpignored
Parameters
ascalar
Returns
scalar_<char> wrapping the input

Definition at line 59 of file as_operation_cl.hpp.