$search

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, inherited]

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:51 2013