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 eT > | |
static eT | op_max::direct_max (const eT *const X, const uword N) |
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 Mat< eT > &X, const uword row) |
template<typename eT > | |
static eT | op_max::direct_max (const subview< eT > &X) |
template<typename eT > | |
static eT | op_max::direct_max (const diagview< eT > &X) |
template<typename T > | |
static std::complex< T > | op_max::direct_max (const std::complex< T > *const X, const uword n_elem) |
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 Mat< std::complex< T > > &X, const uword row) |
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 diagview< std::complex< T > > &X) |
void op_max::apply | ( | Mat< typename T1::elem_type > & | out, |
const Op< T1, op_max > & | in | ||
) | [inline, static] |
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.
arma_pure eT op_max::direct_max | ( | const eT *const | X, |
const uword | N | ||
) | [inline, static] |
Definition at line 23 of file op_max_meat.hpp.
eT op_max::direct_max | ( | const eT *const | X, |
const uword | N, | ||
uword & | index_of_max_val | ||
) | [inline, static] |
Definition at line 66 of file op_max_meat.hpp.
eT op_max::direct_max | ( | const Mat< eT > & | X, |
const uword | row | ||
) | [inline, static] |
Definition at line 116 of file op_max_meat.hpp.
eT op_max::direct_max | ( | const subview< eT > & | X | ) | [inline, static] |
Definition at line 142 of file op_max_meat.hpp.
eT op_max::direct_max | ( | const diagview< eT > & | X | ) | [inline, static] |
Definition at line 168 of file op_max_meat.hpp.
std::complex< T > op_max::direct_max | ( | const std::complex< T > *const | X, |
const uword | n_elem | ||
) | [inline, static] |
Definition at line 251 of file op_max_meat.hpp.
std::complex< T > op_max::direct_max | ( | const std::complex< T > *const | X, |
const uword | n_elem, | ||
uword & | index_of_max_val | ||
) | [inline, static] |
Definition at line 277 of file op_max_meat.hpp.
std::complex< T > op_max::direct_max | ( | const Mat< std::complex< T > > & | X, |
const uword | row | ||
) | [inline, static] |
Definition at line 305 of file op_max_meat.hpp.
std::complex< T > op_max::direct_max | ( | const subview< std::complex< T > > & | X | ) | [inline, static] |
Definition at line 333 of file op_max_meat.hpp.
std::complex< T > op_max::direct_max | ( | const diagview< std::complex< T > > & | X | ) | [inline, static] |
Definition at line 361 of file op_max_meat.hpp.