Functions | |
template<typename T1 > | |
arma_hot T1::elem_type | accu (const Base< typename T1::elem_type, T1 > &X) |
accumulate the elements of a matrix | |
template<typename T1 > | |
arma_inline arma_warn_unused uword | accu (const mtOp< uword, T1, op_rel_noteq > &X) |
explicit handling of Hamming norm (also known as zero norm) | |
template<typename T1 > | |
arma_hot arma_warn_unused T1::elem_type | accu (const BaseCube< typename T1::elem_type, T1 > &X) |
accumulate the elements of a cube | |
template<typename eT > | |
arma_pure arma_warn_unused eT | accu (const diagview< eT > &X) |
accumulate the elements of a diagview | |
template<typename eT > | |
arma_pure arma_warn_unused eT | accu (const subview< eT > &S) |
accumulate the elements of a subview (submatrix) | |
template<typename eT > | |
arma_pure arma_warn_unused eT | accu (const subview_row< eT > &S) |
accumulate the elements of a subview_row | |
template<typename eT > | |
arma_pure arma_warn_unused eT | accu (const subview_col< eT > &S) |
accumulate the elements of a subview_col |
arma_hot T1::elem_type accu | ( | const Base< typename T1::elem_type, T1 > & | X | ) | [inline] |
accumulate the elements of a matrix
Definition at line 24 of file fn_accu.hpp.
arma_inline arma_warn_unused uword accu | ( | const mtOp< uword, T1, op_rel_noteq > & | X | ) |
explicit handling of Hamming norm (also known as zero norm)
Definition at line 82 of file fn_accu.hpp.
arma_hot arma_warn_unused T1::elem_type accu | ( | const BaseCube< typename T1::elem_type, T1 > & | X | ) | [inline] |
accumulate the elements of a cube
Definition at line 113 of file fn_accu.hpp.
arma_pure arma_warn_unused eT accu | ( | const diagview< eT > & | X | ) | [inline] |
accumulate the elements of a diagview
Definition at line 177 of file fn_accu.hpp.
arma_pure arma_warn_unused eT accu | ( | const subview< eT > & | S | ) | [inline] |
accumulate the elements of a subview (submatrix)
Definition at line 201 of file fn_accu.hpp.
arma_pure arma_warn_unused eT accu | ( | const subview_row< eT > & | S | ) | [inline] |
accumulate the elements of a subview_row
Definition at line 230 of file fn_accu.hpp.
arma_pure arma_warn_unused eT accu | ( | const subview_col< eT > & | S | ) | [inline] |
accumulate the elements of a subview_col
Definition at line 270 of file fn_accu.hpp.