Classes | Functions
Op_min

Classes

class  op_min
 Class for finding minimum values in a matrix. More...

Functions

template<typename T1 >
static void op_min::apply (Mat< typename T1::elem_type > &out, const Op< T1, op_min > &in)
 For each row or for each column, find the minimum value. The result is stored in a dense matrix that has either one column or one row. The dimension, for which the minima are found, is set via the min() function.
template<typename eT >
static eT op_min::direct_min (const eT *const X, const uword N)
template<typename eT >
static eT op_min::direct_min (const eT *const X, const uword N, uword &index_of_min_val)
template<typename eT >
static eT op_min::direct_min (const Mat< eT > &X, const uword row)
template<typename eT >
static eT op_min::direct_min (const subview< eT > &X)
template<typename eT >
static eT op_min::direct_min (const diagview< eT > &X)
template<typename T >
static std::complex< T > op_min::direct_min (const std::complex< T > *const X, const uword n_elem)
template<typename T >
static std::complex< T > op_min::direct_min (const std::complex< T > *const X, const uword n_elem, uword &index_of_min_val)
template<typename T >
static std::complex< T > op_min::direct_min (const Mat< std::complex< T > > &X, const uword row)
template<typename T >
static std::complex< T > op_min::direct_min (const subview< std::complex< T > > &X)
template<typename T >
static std::complex< T > op_min::direct_min (const diagview< std::complex< T > > &X)

Function Documentation

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

For each row or for each column, find the minimum value. The result is stored in a dense matrix that has either one column or one row. The dimension, for which the minima are found, is set via the min() function.

Definition at line 196 of file op_min_meat.hpp.

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

Definition at line 23 of file op_min_meat.hpp.

template<typename eT >
eT op_min::direct_min ( const eT *const  X,
const uword  N,
uword index_of_min_val 
) [inline, static]

Definition at line 66 of file op_min_meat.hpp.

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

Definition at line 116 of file op_min_meat.hpp.

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

Definition at line 142 of file op_min_meat.hpp.

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

Definition at line 168 of file op_min_meat.hpp.

template<typename T >
std::complex< T > op_min::direct_min ( const std::complex< T > *const  X,
const uword  n_elem 
) [inline, static]

Definition at line 249 of file op_min_meat.hpp.

template<typename T >
std::complex< T > op_min::direct_min ( const std::complex< T > *const  X,
const uword  n_elem,
uword index_of_min_val 
) [inline, static]

Definition at line 275 of file op_min_meat.hpp.

template<typename T >
std::complex< T > op_min::direct_min ( const Mat< std::complex< T > > &  X,
const uword  row 
) [inline, static]

Definition at line 303 of file op_min_meat.hpp.

template<typename T >
std::complex< T > op_min::direct_min ( const subview< std::complex< T > > &  X) [inline, static]

Definition at line 331 of file op_min_meat.hpp.

template<typename T >
std::complex< T > op_min::direct_min ( const diagview< std::complex< T > > &  X) [inline, static]

Definition at line 358 of file op_min_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