Class for finding mean values of a matrix. More...
#include <op_mean_bones.hpp>
Static Public Member Functions | |
template<typename T1 > | |
static void | apply (Mat< typename T1::elem_type > &out, const Op< T1, op_mean > &in) |
For each row or for each column, find the mean value. The result is stored in a dense matrix that has either one column or one row. The dimension, for which the means are found, is set via the mean() function. | |
template<typename eT > | |
static eT | direct_mean (const eT *const X, const uword N) |
template<typename eT > | |
static eT | direct_mean (const Mat< eT > &X, const uword row) |
template<typename eT > | |
static eT | direct_mean (const subview< eT > &X) |
template<typename eT > | |
static eT | direct_mean (const diagview< eT > &X) |
template<typename eT > | |
static eT | direct_mean_robust (const eT *const X, const uword N) |
template<typename eT > | |
static eT | direct_mean_robust (const Mat< eT > &X, const uword row) |
template<typename eT > | |
static eT | direct_mean_robust (const subview< eT > &X) |
template<typename eT > | |
static eT | direct_mean_robust (const diagview< eT > &X) |
Class for finding mean values of a matrix.
Definition at line 19 of file op_mean_bones.hpp.