Go to the source code of this file.
Functions | |
template<typename T1 > | |
T1::elem_type | accu (const Base< typename T1::elem_type, T1 > &X) |
accumulate the elements of a matrix | |
template<typename T1 > | |
T1::elem_type | accu (const Op< T1, op_diagmat > &X) |
sum of values along the main diagonal | |
template<typename eT > | |
eT | accu (const Op< Mat< eT >, op_diagmat_vec > &X) |
template<typename T1 > | |
T1::elem_type | accu (const Op< T1, op_square > &in) |
sum of squares | |
template<typename T1 > | |
T1::elem_type | accu (const Op< T1, op_sqrt > &in) |
sum of square roots | |
template<typename T1 , typename T2 > | |
T1::elem_type | accu (const Op< Glue< T1, T2, glue_minus >, op_square > &in) |
sum of squares of differences | |
template<typename eT > | |
eT | accu (const subview< eT > &X) |
accumulate the elements of a subview (submatrix) | |
template<typename eT > | |
eT | accu (const diagview< eT > &X) |
accumulate the elements of a diagview | |
template<typename eT > | |
eT | accu_schur (const Mat< eT > &A, const Mat< eT > &B) |
accumulate the result of A % B, where % is the Schur product (element-wise multiplication) | |
template<typename eT > | |
eT | accu (const Glue< Mat< eT >, Mat< eT >, glue_schur > &X) |
accumulate the result of A % B, where % is the Schur product (element-wise multiplication) | |
template<typename eT > | |
eT | accu (const Glue< Glue< Mat< eT >, Mat< eT >, glue_schur >, Mat< eT >, glue_schur > &X) |
accumulate the result of A % B % C, where % is the Schur product (element-wise multiplication) | |
template<typename T1 , typename T2 > | |
T1::elem_type | accu (const Glue< T1, T2, glue_schur > &X) |
accumulate the result of T1 % T2 where % is the Schur product (element-wise multiplication), while T1 and T2 can be 'mat', 'rowvec', 'colvec', 'Op', 'Glue' | |
template<typename eT > | |
eT | accu (const Glue< subview< eT >, Mat< eT >, glue_schur > &X) |
accumulate the result of submatrix % matrix, where % is the Schur product (element-wise multiplication) | |
template<typename eT > | |
eT | accu (const Glue< Mat< eT >, subview< eT >, glue_schur > &X) |
accumulate the result of matrix % submatrix, where % is the Schur product (element-wise multiplication) | |
template<typename eT > | |
eT | accu (const Glue< subview< eT >, subview< eT >, glue_schur > &X) |
accumulate the result of submatrix % submatrix, where % is the Schur product (element-wise multiplication) |