$search

Op_max

Classes

class  op_max
 Class for finding maximum values in a matrix. More...

Functions

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

Function Documentation

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

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

Definition at line 198 of file op_max_meat.hpp.

template<typename T >
std::complex< T > op_max::direct_max ( const diagview< std::complex< T > > &  X  )  [inline, static, inherited]

Definition at line 361 of file op_max_meat.hpp.

template<typename T >
std::complex< T > op_max::direct_max ( const subview< std::complex< T > > &  X  )  [inline, static, inherited]

Definition at line 333 of file op_max_meat.hpp.

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

Definition at line 305 of file op_max_meat.hpp.

template<typename T >
std::complex< T > op_max::direct_max ( const std::complex< T > *const   X,
const uword  n_elem,
uword index_of_max_val 
) [inline, static, inherited]

Definition at line 277 of file op_max_meat.hpp.

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

Definition at line 251 of file op_max_meat.hpp.

template<typename eT >
eT op_max::direct_max ( const diagview< eT > &  X  )  [inline, static, inherited]

Definition at line 168 of file op_max_meat.hpp.

template<typename eT >
eT op_max::direct_max ( const subview< eT > &  X  )  [inline, static, inherited]

Definition at line 142 of file op_max_meat.hpp.

template<typename eT >
eT op_max::direct_max ( const Mat< eT > &  X,
const uword  row 
) [inline, static, inherited]

Definition at line 116 of file op_max_meat.hpp.

template<typename eT >
eT op_max::direct_max ( const eT *const   X,
const uword  N,
uword index_of_max_val 
) [inline, static, inherited]

Definition at line 66 of file op_max_meat.hpp.

template<typename eT >
arma_pure eT op_max::direct_max ( const eT *const   X,
const uword  N 
) [inline, static, inherited]

Definition at line 23 of file op_max_meat.hpp.

 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:51 2013