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

◆ get_kernel_parts_lhs()

template<typename T_mat , typename T_row_index , typename T_col_index >
kernel_parts stan::math::indexing_< T_mat, T_row_index, T_col_index >::get_kernel_parts_lhs ( std::unordered_map< const void *, const char * > &  generated,
std::unordered_map< const void *, const char * > &  generated_all,
name_generator name_gen,
const std::string &  row_index_name,
const std::string &  col_index_name 
) const
inline

Generates kernel code for this expression if it appears on the left hand side of an assignment.

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
name_genname generator for this kernel
row_index_namerow index variable name
col_index_namecolumn index variable name
Returns
part of kernel with code for this expressions

Definition at line 136 of file indexing.hpp.