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.
template<typename eT >
static eT op_mean::direct_mean (const eT *const X, const uword N)
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 eT *const X, const uword N)
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)

Function Documentation

template<typename T1 >
void op_mean::apply ( Mat< typename T1::elem_type > &  out,
const Op< T1, op_mean > &  in 
) [inline, static]

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 
) [inline, static]

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 
) [inline, static]

Definition at line 39 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean ( const subview< eT > &  X) [inline, static]

Definition at line 64 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean ( const diagview< eT > &  X) [inline, static]

Definition at line 89 of file op_mean_meat.hpp.

template<typename eT >
arma_pure eT op_mean::direct_mean_robust ( const eT *const  X,
const uword  N 
) [inline, static]

Definition at line 175 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const Mat< eT > &  X,
const uword  row 
) [inline, static]

Definition at line 212 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const subview< eT > &  X) [inline, static]

Definition at line 235 of file op_mean_meat.hpp.

template<typename eT >
eT op_mean::direct_mean_robust ( const diagview< eT > &  X) [inline, static]

Definition at line 258 of file op_mean_meat.hpp.



armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:07