Class for finding sums of values in a matrix (e.g. along rows or columns) More...
#include <op_sum_bones.hpp>
Static Public Member Functions | |
template<typename T1 > | |
static void | apply (Mat< typename T1::elem_type > &out, const Op< T1, op_sum > &in) |
Immediate sum of elements of a matrix along a specified dimension (either rows or columns). The result is stored in a dense matrix that has either one column or one row. See the sum() function for more details. |
Class for finding sums of values in a matrix (e.g. along rows or columns)
Definition at line 18 of file op_sum_bones.hpp.