![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
Definition at line 43 of file rowwise_reduction.hpp.
#include <rowwise_reduction.hpp>
Public Types | |
| enum | { is_possible = 1 } |
| using | Arg = elt_multiply_< Mat, broadcast_< VecT, true, false > > |
Static Public Member Functions | |
| static matrix_cl_view | view (const Arg &a) |
| Return view of the vector. | |
| static kernel_parts | get_kernel_parts (const Arg &mul, 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) |
| Generates kernel code for the argument of rowwise reduction, applying the optimization - ignoring the triangular view of the vector, as it is already handeled by rowwise reduction. | |