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

◆ get_whole_kernel_parts()

kernel_parts stan::math::reduction_2d< sum_2d_< T > , T, sum_op >::get_whole_kernel_parts ( std::unordered_map< const void *, const char * > &  generated,
std::unordered_map< const void *, const char * > &  generated_all,
name_generator ng,
const std::string &  row_index_name,
const std::string &  col_index_name,
const T_result &  result 
) const
inlineinherited

Generates kernel code for assigning this expression into result expression.

Parameters
[in,out]generatedmap from (pointer to) already generated local operations to variable names
[in,out]generated_allmap from (pointer to) already generated all operations to variable names
ngname generator for this kernel
row_index_namerow index variable name
col_index_namecolumn index variable name
resultexpression into which result is to be assigned
Returns
part of kernel with code for this and nested expressions

Definition at line 82 of file reduction_2d.hpp.