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

◆ generate()

kernel_parts stan::math::reduction_2d< sum_2d_< T > , T, sum_op >::generate ( const std::string &  row_index_name,
const std::string &  col_index_name,
const bool  view_handled,
const std::string &  var_name_arg 
) const
inlineinherited

Generates kernel code for this and nested expressions.

Parameters
row_index_namerow index variable name
col_index_namecolumn index variable name
view_handledwhether whether caller already handled matrix view
var_name_argname of the variable in kernel that holds argument to this expression
Returns
part of kernel with code for this and nested expressions

Definition at line 110 of file reduction_2d.hpp.