Class for finding maximum values in a matrix. More...
#include <op_max_bones.hpp>
Static Public Member Functions | |
template<typename T1 > | |
static void | 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 | direct_max (const eT *const X, const uword N) |
template<typename eT > | |
static eT | direct_max (const eT *const X, const uword N, uword &index_of_max_val) |
template<typename eT > | |
static eT | direct_max (const Mat< eT > &X, const uword row) |
template<typename eT > | |
static eT | direct_max (const subview< eT > &X) |
template<typename eT > | |
static eT | direct_max (const diagview< eT > &X) |
template<typename T > | |
static std::complex< T > | direct_max (const std::complex< T > *const X, const uword n_elem) |
template<typename T > | |
static std::complex< T > | direct_max (const std::complex< T > *const X, const uword n_elem, uword &index_of_max_val) |
template<typename T > | |
static std::complex< T > | direct_max (const Mat< std::complex< T > > &X, const uword row) |
template<typename T > | |
static std::complex< T > | direct_max (const subview< std::complex< T > > &X) |
template<typename T > | |
static std::complex< T > | direct_max (const diagview< std::complex< T > > &X) |
Class for finding maximum values in a matrix.
Definition at line 20 of file op_max_bones.hpp.