Classes | Functions
Op_mean

Classes

class  op_mean
 Class for finding mean values of a matrix. More...
 

Functions

template<typename T1 >
static void op_mean::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. More...
 
template<typename eT >
arma_pure eT op_mean::direct_mean (const eT *const X, const uword n_elem)
 
template<typename eT >
static eT op_mean::direct_mean (const Mat< eT > &X, const uword row)
 
template<typename eT >
static eT op_mean::direct_mean (const subview< eT > &X)
 
template<typename eT >
static eT op_mean::direct_mean (const diagview< eT > &X)
 
template<typename eT >
static eT op_mean::direct_mean_robust (const Mat< eT > &X, const uword row)
 
template<typename eT >
static eT op_mean::direct_mean_robust (const subview< eT > &X)
 
template<typename eT >
static eT op_mean::direct_mean_robust (const diagview< eT > &X)
 
template<typename eT >
arma_pure eT op_mean::direct_mean_robust (const eT *const X, const uword n_elem)
 

Detailed Description

Function Documentation

template<typename T1 >
void op_mean::apply ( Mat< typename T1::elem_type > &  out,
const Op< T1, op_mean > &  in 
)
inlinestatic

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.

Definition at line 118 of file op_mean_meat.hpp.

template<typename eT >
arma_pure eT op_mean::direct_mean ( const eT *const  X,
const uword  n_elem 
)
inline

Definition at line 23 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean ( const Mat< eT > &  X,
const uword  row 
)
inlinestatic

Definition at line 39 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean ( const subview< eT > &  X)
inlinestatic

Definition at line 64 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean ( const diagview< eT > &  X)
inlinestatic

Definition at line 89 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const Mat< eT > &  X,
const uword  row 
)
inlinestatic

Definition at line 212 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const subview< eT > &  X)
inlinestatic

Definition at line 235 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const diagview< eT > &  X)
inlinestatic

Definition at line 258 of file op_mean_meat.hpp.

template<typename eT >
arma_pure eT op_mean::direct_mean_robust ( const eT *const  X,
const uword  n_elem 
)
inline

Definition at line 175 of file op_mean_meat.hpp.



armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:00