Functions

fn_min.hpp File Reference

Go to the source code of this file.

Functions

template<typename T1 >
arma_inline const Op< T1, op_minmin (const Base< typename T1::elem_type, T1 > &X, const u32 dim=0)
 //! Delayed 'minimum values' operation. //! The dimension, along which the minima are found, is set via 'dim'. //! For dim = 0, the maximum value of each column is found (i.e. searches by traversing across rows). //! For dim = 1, the maximum value of each row is found (i.e. searches by traversing across columns). //! The default is dim = 0. //! NOTE: This function works differently than in Matlab/Octave.
template<typename eT >
arma_warn_unused eT min (const Row< eT > &A)
 Immediate 'find the minimum value in a row vector' operation.
template<typename eT >
arma_warn_unused eT min (const Col< eT > &A)
 Immediate 'find the minimum value in a column vector'.
template<typename T1 >
arma_warn_unused T1::elem_type min (const Op< T1, op_min > &in)
 //! Immediate 'find minimum value' operation, //! invoked, for example, by: min(min(A))
template<typename T1 >
const Op< Op< T1, op_min >
, op_min
min (const Op< T1, op_min > &in, const u32 dim)
template<typename eT >
arma_warn_unused eT min (const subview_row< eT > &A)
template<typename eT >
arma_warn_unused eT min (const subview_col< eT > &A)
template<typename eT >
arma_warn_unused eT min (const diagview< eT > &A)
template<typename eT >
arma_warn_unused eT min (const Op< subview< eT >, op_min > &in)