Public Member Functions | Static Public Member Functions | List of all members
op_min Class Reference

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

#include <op_min_bones.hpp>

Public Member Functions

template<typename eT >
arma_pure eT direct_min (const eT *const X, const uword n_elem)
 

Static Public Member Functions

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. More...
 
template<typename eT >
static eT direct_min (const eT *const X, const uword N)
 
template<typename eT >
static eT direct_min (const eT *const X, const uword N, uword &index_of_min_val)
 
template<typename eT >
static eT direct_min (const Mat< eT > &X, const uword row)
 
template<typename eT >
static eT direct_min (const subview< eT > &X)
 
template<typename eT >
static eT direct_min (const diagview< eT > &X)
 
template<typename T >
static std::complex< T > direct_min (const std::complex< T > *const X, const uword n_elem)
 
template<typename T >
static std::complex< T > direct_min (const std::complex< T > *const X, const uword n_elem, uword &index_of_min_val)
 
template<typename T >
static std::complex< T > direct_min (const Mat< std::complex< T > > &X, const uword row)
 
template<typename T >
static std::complex< T > direct_min (const subview< std::complex< T > > &X)
 
template<typename T >
static std::complex< T > direct_min (const diagview< std::complex< T > > &X)
 

Detailed Description

Class for finding minimum values in a matrix.

Definition at line 19 of file op_min_bones.hpp.

Member Function Documentation

template<typename eT >
static eT op_min::direct_min ( const eT *const  X,
const uword  N 
)
inlinestatic

The documentation for this class was generated from the following files:


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