Functions | |
template<typename T1 > | |
arma_inline const Op< T1, op_max > | max (const Base< typename T1::elem_type, T1 > &X, const uword 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 (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. | |
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 uword 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) |
template<typename eT , typename T1 > | |
arma_warn_unused eT | max (const subview_elem1< eT, T1 > &A) |
arma_inline const Op<T1, op_max> max | ( | const Base< typename T1::elem_type, T1 > & | X, |
const uword | 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 (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.
Definition at line 28 of file fn_max.hpp.
arma_warn_unused eT max | ( | const Row< eT > & | A | ) | [inline] |
Immediate 'find the maximum value in a row vector' operation.
Definition at line 41 of file fn_max.hpp.
arma_warn_unused eT max | ( | const Col< eT > & | A | ) | [inline] |
Immediate 'find the maximum value in a column vector' operation.
Definition at line 59 of file fn_max.hpp.
arma_warn_unused T1::elem_type max | ( | const Op< T1, op_max > & | in | ) | [inline] |
Immediate 'find maximum value' operation, invoked, for example, by: max(max(A))
Definition at line 79 of file fn_max.hpp.
arma_inline const Op< Op<T1, op_max>, op_max> max | ( | const Op< T1, op_max > & | in, |
const uword | dim | ||
) |
Definition at line 101 of file fn_max.hpp.
arma_warn_unused eT max | ( | const subview_row< eT > & | A | ) | [inline] |
Definition at line 114 of file fn_max.hpp.
arma_warn_unused eT max | ( | const subview_col< eT > & | A | ) | [inline] |
Definition at line 129 of file fn_max.hpp.
arma_warn_unused eT max | ( | const Op< subview< eT >, op_max > & | in | ) | [inline] |
Definition at line 144 of file fn_max.hpp.
arma_warn_unused eT max | ( | const diagview< eT > & | A | ) | [inline] |
Definition at line 162 of file fn_max.hpp.
arma_warn_unused eT max | ( | const subview_elem1< eT, T1 > & | A | ) | [inline] |
Definition at line 177 of file fn_max.hpp.