$search
Classes | |
struct | arma_cx_median_packet< T > |
class | op_median |
Class for finding median values of a matrix. More... | |
Functions | |
template<typename T , typename T1 > | |
static void | op_median::apply (Mat< std::complex< T > > &out, const Op< T1, op_median > &in) |
Implementation for complex numbers. | |
template<typename T1 > | |
static void | op_median::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 | op_median::direct_cx_median_index (uword &out_index1, uword &out_index2, const diagview< std::complex< T > > &X) |
template<typename T > | |
static void | op_median::direct_cx_median_index (uword &out_index1, uword &out_index2, const subview< std::complex< T > > &X) |
template<typename T > | |
static void | op_median::direct_cx_median_index (uword &out_index1, uword &out_index2, const std::complex< T > *X, const uword n_elem) |
template<typename T > | |
static void | op_median::direct_cx_median_index (uword &out_index1, uword &out_index2, std::vector< arma_cx_median_packet< T > > &X) |
template<typename eT > | |
static eT | op_median::direct_median (const diagview< eT > &X) |
template<typename eT > | |
static eT | op_median::direct_median (const subview< eT > &X) |
template<typename eT > | |
static eT | op_median::direct_median (const eT *X, const uword n_elem) |
template<typename eT > | |
static eT | op_median::direct_median (std::vector< eT > &X) |
find the median value of a std::vector (contents is modified) | |
template<typename T > | |
bool | operator< (const arma_cx_median_packet< T > &A, const arma_cx_median_packet< T > &B) |
template<typename T > | |
static arma_inline std::complex< T > | op_median::robust_mean (const std::complex< T > &A, const std::complex< T > &B) |
template<typename eT > | |
static arma_inline eT | op_median::robust_mean (const eT A, const eT B) |
void op_median::apply | ( | Mat< std::complex< T > > & | out, | |
const Op< T1, op_median > & | in | |||
) | [inline, static, inherited] |
Implementation for complex numbers.
Definition at line 304 of file op_median_meat.hpp.
void op_median::apply | ( | Mat< typename T1::elem_type > & | out, | |
const Op< T1, op_median > & | in | |||
) | [inline, static, inherited] |
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.
Definition at line 117 of file op_median_meat.hpp.
void op_median::direct_cx_median_index | ( | uword & | out_index1, | |
uword & | out_index2, | |||
const diagview< std::complex< T > > & | X | |||
) | [inline, static, inherited] |
Definition at line 277 of file op_median_meat.hpp.
void op_median::direct_cx_median_index | ( | uword & | out_index1, | |
uword & | out_index2, | |||
const subview< std::complex< T > > & | X | |||
) | [inline, static, inherited] |
Definition at line 250 of file op_median_meat.hpp.
void op_median::direct_cx_median_index | ( | uword & | out_index1, | |
uword & | out_index2, | |||
const std::complex< T > * | X, | |||
const uword | n_elem | |||
) | [inline, static, inherited] |
Definition at line 224 of file op_median_meat.hpp.
void op_median::direct_cx_median_index | ( | uword & | out_index1, | |
uword & | out_index2, | |||
std::vector< arma_cx_median_packet< T > > & | X | |||
) | [inline, static, inherited] |
Definition at line 193 of file op_median_meat.hpp.
eT op_median::direct_median | ( | const diagview< eT > & | X | ) | [inline, static, inherited] |
Definition at line 92 of file op_median_meat.hpp.
eT op_median::direct_median | ( | const subview< eT > & | X | ) | [inline, static, inherited] |
Definition at line 71 of file op_median_meat.hpp.
eT op_median::direct_median | ( | const eT * | X, | |
const uword | n_elem | |||
) | [inline, static, inherited] |
Definition at line 57 of file op_median_meat.hpp.
eT op_median::direct_median | ( | std::vector< eT > & | X | ) | [inline, static, inherited] |
find the median value of a std::vector (contents is modified)
Definition at line 33 of file op_median_meat.hpp.
bool operator< | ( | const arma_cx_median_packet< T > & | A, | |
const arma_cx_median_packet< T > & | B | |||
) | [inline] |
Definition at line 30 of file op_median_bones.hpp.
arma_inline std::complex< T > op_median::robust_mean | ( | const std::complex< T > & | A, | |
const std::complex< T > & | B | |||
) | [inline, static, inherited] |
Definition at line 182 of file op_median_meat.hpp.
arma_inline eT op_median::robust_mean | ( | const eT | A, | |
const eT | B | |||
) | [inline, static, inherited] |
Definition at line 22 of file op_median_meat.hpp.