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

◆ generate()

template<int N, typename... T_results>
template<typename... T_expressions>
static kernel_parts stan::math::internal::multi_result_kernel_internal< N, T_results >::inner< T_expressions >::generate ( 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 std::tuple< std::pair< T_results, T_expressions >... > &  assignment_pairs 
)
inlinestatic

Generates kernel source for assignment of expressions to results.

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
row_index_namevariable name of the row index
col_index_namevariable name of the column index
assignment_pairspairs of result and expression
Returns
kernel parts for the kernel

Definition at line 130 of file multi_result_kernel.hpp.