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

◆ generate()

template<typename Derived , typename T , typename Scal >
kernel_parts stan::math::unary_operation_cl< Derived, T, Scal >::generate ( const std::string &  row_index_name,
const std::string &  col_index_name,
const bool  view_handled,
const std::string &  var_name_arg 
) const
inline

Generates kernel code for this expression.

Parameters
row_index_namerow index variable name
col_index_namecolumn index variable name
view_handledwhether whether caller already handled matrix view
var_name_argvariable name of the nested expression
Returns
part of kernel with code for this expression

Definition at line 47 of file unary_operation_cl.hpp.