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

◆ get_unique_matrix_accesses()

template<int N, typename... T_results>
template<typename... T_expressions>
static void stan::math::internal::multi_result_kernel_internal< N, T_results >::inner< T_expressions >::get_unique_matrix_accesses ( std::vector< int > &  uids,
std::unordered_map< const void *, int > &  id_map,
int &  next_id,
const std::tuple< std::pair< T_results, T_expressions >... > &  assignment_pairs 
)
inlinestatic

Collects data that is needed beside types to uniqly identify a kernel.

Parameters
[out]uidsids of unique matrix accesses
[in,out]id_mapmap from memory addresses to unique ids
[in,out]next_idneqt unique id to use
assignment_pairspairs of result and expression

Definition at line 195 of file multi_result_kernel.hpp.