#include <subview_field_proto.hpp>
Public Types | |
typedef oT | object_type |
Public Member Functions | |
~subview_field () | |
void | operator= (const field< oT > &x) |
void | operator= (const subview_field &x) |
x.subfield(...) = y.subfield(...) | |
arma_inline oT & | operator[] (const u32 i) |
arma_inline const oT & | operator[] (const u32 i) const |
arma_inline oT & | operator() (const u32 i) |
arma_inline const oT & | operator() (const u32 i) const |
arma_inline oT & | at (const u32 row, const u32 col) |
arma_inline const oT & | at (const u32 row, const u32 col) const |
arma_inline oT & | operator() (const u32 row, const u32 col) |
arma_inline const oT & | operator() (const u32 row, const u32 col) const |
bool | check_overlap (const subview_field &x) const |
Static Public Member Functions | |
static void | extract (field< oT > &out, const subview_field &in) |
X = Y.subfield(...). | |
Public Attributes | |
const field< oT > & | f |
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_field (const field< oT > &in_f, const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2) |
arma_inline | subview_field (field< oT > &in_f, const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2) |
Protected Attributes | |
field< oT > * | f_ptr |
Private Member Functions | |
subview_field () | |
Friends | |
class | field< oT > |
Definition at line 23 of file subview_field_proto.hpp.
typedef oT subview_field< oT >::object_type |
Definition at line 30 of file subview_field_proto.hpp.
subview_field< oT >::subview_field | ( | ) | [private] |
friend class field< oT > [friend] |
Definition at line 75 of file subview_field_proto.hpp.
const field<oT>& subview_field< oT >::f |
Definition at line 25 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::at(), subview_field< oT >::check_overlap(), subview_field< oT >::extract(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), and subview_field< oT >::operator[]().
field<oT>* subview_field< oT >::f_ptr [protected] |
Definition at line 26 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::at(), subview_field< oT >::operator()(), and subview_field< oT >::operator[]().
const u32 subview_field< oT >::aux_row1 |
Definition at line 32 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::at(), subview_field< oT >::check_overlap(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), and subview_field< oT >::operator[]().
const u32 subview_field< oT >::aux_col1 |
Definition at line 33 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::at(), subview_field< oT >::check_overlap(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), and subview_field< oT >::operator[]().
const u32 subview_field< oT >::aux_row2 |
Definition at line 35 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::check_overlap(), and subview_field< oT >::operator=().
const u32 subview_field< oT >::aux_col2 |
Definition at line 36 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::check_overlap(), and subview_field< oT >::operator=().
const u32 subview_field< oT >::n_rows |
Definition at line 38 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::extract(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), and subview_field< oT >::operator[]().
const u32 subview_field< oT >::n_cols |
Definition at line 39 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::extract(), subview_field< oT >::operator()(), and subview_field< oT >::operator=().
const u32 subview_field< oT >::n_elem |
Definition at line 40 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::operator()().