#include <subview_proto.hpp>
Public Types | |
typedef eT | elem_type |
typedef get_pod_type < elem_type >::pod_type | pod_type |
Public Member Functions | |
~subview () | |
void | operator+= (const eT val) |
void | operator-= (const eT val) |
void | operator*= (const eT val) |
void | operator/= (const eT val) |
template<typename T1 > | |
void | operator= (const Base< eT, T1 > &x) |
template<typename T1 > | |
void | operator+= (const Base< eT, T1 > &x) |
template<typename T1 > | |
void | operator-= (const Base< eT, T1 > &x) |
template<typename T1 > | |
void | operator%= (const Base< eT, T1 > &x) |
template<typename T1 > | |
void | operator/= (const Base< eT, T1 > &x) |
void | operator= (const subview &x) |
x.submat(...) = y.submat(...) | |
void | operator+= (const subview &x) |
void | operator-= (const subview &x) |
void | operator%= (const subview &x) |
void | operator/= (const subview &x) |
void | fill (const eT val) |
void | zeros () |
arma_inline eT & | operator[] (const u32 i) |
arma_inline eT | operator[] (const u32 i) const |
arma_inline eT & | operator() (const u32 i) |
arma_inline eT | operator() (const u32 i) const |
arma_inline eT & | operator() (const u32 in_row, const u32 in_col) |
arma_inline eT | operator() (const u32 in_row, const u32 in_col) const |
arma_inline eT & | at (const u32 in_row, const u32 in_col) |
arma_inline eT | at (const u32 in_row, const u32 in_col) const |
arma_inline eT * | colptr (const u32 in_col) |
arma_inline const eT * | colptr (const u32 in_col) const |
bool | check_overlap (const subview &x) const |
Static Public Member Functions | |
static void | extract (Mat< eT > &out, const subview &in) |
X = Y.submat(...). | |
static void | plus_inplace (Mat< eT > &out, const subview &in) |
X += Y.submat(...). | |
static void | times_inplace (Mat< eT > &out, const subview &in) |
X *= Y.submat(...). | |
static void | minus_inplace (Mat< eT > &out, const subview &in) |
X -= Y.submat(...). | |
static void | schur_inplace (Mat< eT > &out, const subview &in) |
X = Y.submat(...). | |
static void | div_inplace (Mat< eT > &out, const subview &in) |
X /= Y.submat(...). | |
Public Attributes | |
arma_aligned const Mat< eT > & | m |
const u32 | aux_row1 |
const u32 | aux_col1 |
const u32 | aux_row2 |
const u32 | aux_col2 |
const u32 | n_rows |
const u32 | n_cols |
const u32 | n_elem |
Protected Member Functions | |
arma_inline | subview (const Mat< eT > &in_m, const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2) |
arma_inline | subview (Mat< eT > &in_m, const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2) |
Protected Attributes | |
arma_aligned Mat< eT > * | m_ptr |
Private Member Functions | |
subview () | |
Friends | |
class | Mat< eT > |
Definition at line 23 of file subview_proto.hpp.
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 30 of file subview_proto.hpp.
typedef get_pod_type<elem_type>::pod_type subview< eT >::pod_type |
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 31 of file subview_proto.hpp.
friend class Mat< eT > [friend] |
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 103 of file subview_proto.hpp.
Definition at line 25 of file subview_proto.hpp.
Referenced by subview< eT >::at(), subview< eT >::check_overlap(), subview< eT >::colptr(), subview< eT >::div_inplace(), subview< eT >::extract(), subview< eT >::minus_inplace(), subview< eT >::operator%=(), subview< eT >::operator()(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), subview< eT >::operator=(), subview< eT >::operator[](), subview< eT >::plus_inplace(), subview< eT >::schur_inplace(), and subview< eT >::times_inplace().
Definition at line 26 of file subview_proto.hpp.
Referenced by subview< eT >::at(), subview< eT >::colptr(), subview< eT >::operator()(), and subview< eT >::operator[]().
Definition at line 33 of file subview_proto.hpp.
Referenced by subview< eT >::at(), subview< eT >::check_overlap(), subview< eT >::colptr(), subview< eT >::extract(), subview< eT >::operator%=(), subview< eT >::operator()(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), subview< eT >::operator=(), and subview< eT >::operator[]().
Definition at line 34 of file subview_proto.hpp.
Referenced by subview< eT >::at(), subview< eT >::check_overlap(), subview< eT >::colptr(), subview< eT >::operator%=(), subview< eT >::operator()(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), subview< eT >::operator=(), and subview< eT >::operator[]().
Definition at line 36 of file subview_proto.hpp.
Referenced by subview< eT >::check_overlap(), subview< eT >::operator%=(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), and subview< eT >::operator=().
Definition at line 37 of file subview_proto.hpp.
Referenced by subview< eT >::check_overlap(), subview< eT >::operator%=(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), and subview< eT >::operator=().
Definition at line 39 of file subview_proto.hpp.
Referenced by accu(), arma_assert_mul_size(), arma_assert_same_size(), subview< eT >::div_inplace(), subview< eT >::extract(), subview< eT >::fill(), subview< eT >::minus_inplace(), subview< eT >::operator%=(), subview< eT >::operator()(), subview< eT >::operator*=(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), subview< eT >::operator=(), subview< eT >::operator[](), subview< eT >::plus_inplace(), subview< eT >::schur_inplace(), and subview< eT >::zeros().
Definition at line 40 of file subview_proto.hpp.
Referenced by accu(), arma_assert_mul_size(), arma_assert_same_size(), subview< eT >::div_inplace(), subview< eT >::extract(), subview< eT >::fill(), subview< eT >::minus_inplace(), subview< eT >::operator%=(), subview< eT >::operator()(), subview< eT >::operator*=(), subview< eT >::operator+=(), subview< eT >::operator-=(), subview< eT >::operator/=(), subview< eT >::operator=(), subview< eT >::plus_inplace(), subview< eT >::schur_inplace(), and subview< eT >::zeros().
Definition at line 41 of file subview_proto.hpp.
Referenced by diagmat(), op_max::direct_max(), op_mean::direct_mean(), op_median::direct_median(), op_min::direct_min(), op_var::direct_var(), max(), mean(), median(), min(), subview< eT >::operator()(), stddev(), and var().