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

◆ check_assign_dimensions()

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 >::check_assign_dimensions ( int  n_rows,
int  n_cols,
const std::tuple< std::pair< T_results, T_expressions >... > &  assignment_pairs 
)
inlinestatic

Assigns the dimensions of expressions to matching results if possible.

Otherwise checks that dimensions match. Also checks that all expressions require same number of threads.

Parameters
n_rowsnumber of threads in rows dimension of the first expression
n_colsnumber of threads in rows dimension of the first expression
assignment_pairspairs of result and expression

Definition at line 68 of file multi_result_kernel.hpp.