$search

op_median Class Reference
[Op_median]

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

#include <op_median_bones.hpp>

List of all members.

Static Public Member Functions

template<typename T , typename T1 >
static void apply (Mat< std::complex< T > > &out, const Op< T1, op_median > &in)
 Implementation for complex numbers.
template<typename T1 >
static void apply (Mat< typename T1::elem_type > &out, const Op< T1, op_median > &in)
 For each row or for each column, find the median value. The result is stored in a dense matrix that has either one column or one row. The dimension, for which the medians are found, is set via the median() function.
template<typename T >
static void direct_cx_median_index (uword &out_index1, uword &out_index2, const diagview< std::complex< T > > &X)
template<typename T >
static void direct_cx_median_index (uword &out_index1, uword &out_index2, const subview< std::complex< T > > &X)
template<typename T >
static void direct_cx_median_index (uword &out_index1, uword &out_index2, const std::complex< T > *X, const uword n_elem)
template<typename T >
static void direct_cx_median_index (uword &out_index1, uword &out_index2, std::vector< arma_cx_median_packet< T > > &X)
template<typename eT >
static eT direct_median (const diagview< eT > &X)
template<typename eT >
static eT direct_median (const subview< eT > &X)
template<typename eT >
static eT direct_median (const eT *X, const uword n_elem)
template<typename eT >
static eT direct_median (std::vector< eT > &X)
 find the median value of a std::vector (contents is modified)
template<typename T >
static arma_inline
std::complex< T > 
robust_mean (const std::complex< T > &A, const std::complex< T > &B)
template<typename eT >
static arma_inline eT robust_mean (const eT A, const eT B)

Detailed Description

Class for finding median values of a matrix.

Definition at line 38 of file op_median_bones.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:58 2013