Public Member Functions | Static Public Member Functions | List of all members
op_mean Class Reference

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

#include <op_mean_bones.hpp>

Public Member Functions

template<typename eT >
arma_pure eT direct_mean (const eT *const X, const uword n_elem)
 
template<typename eT >
arma_pure eT direct_mean_robust (const eT *const X, const uword n_elem)
 

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. More...
 
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)
 

Detailed Description

Class for finding mean values of a matrix.

Definition at line 19 of file op_mean_bones.hpp.

Member Function Documentation

template<typename eT >
static eT op_mean::direct_mean ( const eT *const  X,
const uword  N 
)
inlinestatic
template<typename eT >
static eT op_mean::direct_mean_robust ( const eT *const  X,
const uword  N 
)
inlinestatic

The documentation for this class was generated from the following files:


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