Class for storing data required to construct or apply operations to a subfield (i.e. where the subfield starts and ends as well as a reference/pointer to the original field),. More...
#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 > |
Class for storing data required to construct or apply operations to a subfield (i.e. where the subfield starts and ends as well as a reference/pointer to the original field),.
Definition at line 24 of file subview_field_proto.hpp.
| typedef oT subview_field< oT >::object_type |
Definition at line 31 of file subview_field_proto.hpp.
| subview_field< oT >::subview_field | ( | ) | [private] |
friend class field< oT > [friend] |
Definition at line 76 of file subview_field_proto.hpp.
| const field<oT>& subview_field< oT >::f |
Definition at line 26 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 27 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 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_col1 |
Definition at line 34 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 36 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 37 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 39 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::extract(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), subview_field< oT >::operator[](), and arma_ostream::print().
| const u32 subview_field< oT >::n_cols |
Definition at line 40 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::extract(), subview_field< oT >::operator()(), subview_field< oT >::operator=(), and arma_ostream::print().
| const u32 subview_field< oT >::n_elem |
Definition at line 41 of file subview_field_proto.hpp.
Referenced by subview_field< oT >::operator()().