Static Public Member Functions

op_max Class Reference
[Op_max]

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

#include <op_max_proto.hpp>

List of all members.

Static Public Member Functions

template<typename eT >
static eT direct_max (const eT *const X, const u32 N)
 find the maximum value in an array
template<typename eT >
static eT direct_max (const subview< eT > &X)
 find the maximum value in a subview
template<typename eT >
static eT direct_max (const diagview< eT > &X)
 find the maximum value in a diagview
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 T >
static std::complex< T > direct_max (const std::complex< T > *const X, const u32 n_elem)
 Find the maximum value in an array (version for complex numbers).
template<typename T >
static std::complex< T > direct_max (const subview< std::complex< T > > &X)
 Find the maximum value in a subview (version for complex numbers).
template<typename T >
static std::complex< T > direct_max (const diagview< std::complex< T > > &X)
 Find the maximum value in a diagview (version for complex numbers).
template<typename T , typename T1 >
static void apply (Mat< std::complex< T > > &out, const Op< T1, op_max > &in)
 Implementation for complex numbers.

Detailed Description

Class for finding maximum values in a matrix.

Definition at line 23 of file op_max_proto.hpp.