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. More...
 
template<typename eT >
arma_pure eT op_min::direct_min (const eT *const X, const uword n_elem)
 
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)
 

Detailed Description

Function Documentation

template<typename T1 >
void op_min::apply ( Mat< typename T1::elem_type > &  out,
const Op< T1, op_min > &  in 
)
inlinestatic

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_elem 
)
inline

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 
)
inlinestatic

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 
)
inlinestatic

Definition at line 116 of file op_min_meat.hpp.

template<typename eT >
eT op_min::direct_min ( const subview< eT > &  X)
inlinestatic

Definition at line 142 of file op_min_meat.hpp.

template<typename eT >
eT op_min::direct_min ( const diagview< eT > &  X)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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)
inlinestatic

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)
inlinestatic

Definition at line 358 of file op_min_meat.hpp.



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