Functions

fn_max.hpp File Reference

Go to the source code of this file.

Functions

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