Classes | Functions
Op_sum

Classes

class  op_sum
 Class for finding sums of values in a matrix (e.g. along rows or columns) More...

Functions

template<typename T1 >
static void op_sum::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.

Function Documentation

template<typename T1 >
void op_sum::apply ( Mat< typename T1::elem_type > &  out,
const Op< T1, op_sum > &  in 
) [inline, static]

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.

Definition at line 24 of file op_sum_meat.hpp.



armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:07