Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
subview_field< oT > Class Template Reference

#include <forward_bones.hpp>

Public Types

typedef oT object_type
 

Public Member Functions

arma_inline oT & at (const uword row, const uword col)
 
arma_inline const oT & at (const uword row, const uword col) const
 
bool check_overlap (const subview_field &x) const
 
arma_inline oT & operator() (const uword i)
 
arma_inline const oT & operator() (const uword i) const
 
arma_inline oT & operator() (const uword row, const uword col)
 
arma_inline const oT & operator() (const uword row, const uword col) const
 
void operator= (const field< oT > &x)
 
void operator= (const subview_field &x)
 x.subfield(...) = y.subfield(...) More...
 
arma_inline oT & operator[] (const uword i)
 
arma_inline const oT & operator[] (const uword i) const
 
 ~subview_field ()
 

Static Public Member Functions

static void extract (field< oT > &out, const subview_field &in)
 X = Y.subfield(...) More...
 

Public Attributes

const uword aux_col1
 
const uword aux_row1
 
const field< oT > & f
 
const uword n_cols
 
const uword n_elem
 
const uword n_rows
 

Protected Member Functions

arma_inline subview_field (const field< oT > &in_f, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols)
 
arma_inline subview_field (field< oT > &in_f, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols)
 

Protected Attributes

field< oT > * f_ptr
 

Private Member Functions

 subview_field ()
 

Friends

class field< oT >
 

Detailed Description

template<typename oT>
class subview_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 29 of file forward_bones.hpp.

Member Typedef Documentation

template<typename oT>
typedef oT subview_field< oT >::object_type

Definition at line 28 of file subview_field_bones.hpp.

Constructor & Destructor Documentation

template<typename oT>
subview_field< oT >::subview_field ( )
private

Friends And Related Function Documentation

template<typename oT>
friend class field< oT >
friend

Definition at line 70 of file subview_field_bones.hpp.

Member Data Documentation

template<typename oT>
const uword subview_field< oT >::aux_col1

Definition at line 31 of file subview_field_bones.hpp.

template<typename oT>
const uword subview_field< oT >::aux_row1

Definition at line 30 of file subview_field_bones.hpp.

template<typename oT>
const field<oT>& subview_field< oT >::f

Definition at line 23 of file subview_field_bones.hpp.

template<typename oT>
field<oT>* subview_field< oT >::f_ptr
protected

Definition at line 24 of file subview_field_bones.hpp.

template<typename oT>
const uword subview_field< oT >::n_cols

Definition at line 34 of file subview_field_bones.hpp.

template<typename oT>
const uword subview_field< oT >::n_elem

Definition at line 35 of file subview_field_bones.hpp.

template<typename oT>
const uword subview_field< oT >::n_rows

Definition at line 33 of file subview_field_bones.hpp.


The documentation for this class was generated from the following files:


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:01