Class for finding minimum values in a matrix. More...
#include <op_min_proto.hpp>
Static Public Member Functions | |
template<typename eT > | |
static eT | direct_min (const eT *const X, const u32 N) |
Find the minimum value in an array. | |
template<typename eT > | |
static eT | direct_min (const subview< eT > &X) |
find the minimum value in a subview | |
template<typename eT > | |
static eT | direct_min (const diagview< eT > &X) |
find the minimum value in a diagview | |
template<typename T1 > | |
static void | 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. | |
template<typename T > | |
static std::complex< T > | direct_min (const std::complex< T > *const X, const u32 n_elem) |
Find the minimum value in an array (version for complex numbers). | |
template<typename T > | |
static std::complex< T > | direct_min (const subview< std::complex< T > > &X) |
Find the minimum value in a subview (version for complex numbers). | |
template<typename T > | |
static std::complex< T > | direct_min (const diagview< std::complex< T > > &X) |
Find the minimum 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_min > &in) |
Implementation for complex numbers. |
Class for finding minimum values in a matrix.
Definition at line 22 of file op_min_proto.hpp.