Public Types | Public Member Functions | Public Attributes

Proxy< subview< eT > > Class Template Reference
[Proxy]

#include <Proxy.hpp>

List of all members.

Public Types

typedef eT elem_type
typedef get_pod_type
< elem_type >::result 
pod_type
typedef subview< eT > stored_type

Public Member Functions

 Proxy (const subview< eT > &A)
arma_inline elem_type operator[] (const u32 i) const
arma_inline elem_type at (const u32 row, const u32 col) const

Public Attributes

const subview< eT > & Q
const u32 n_rows
const u32 n_cols
const u32 n_elem

Detailed Description

template<typename eT>
class Proxy< subview< eT > >

Definition at line 212 of file Proxy.hpp.


Member Typedef Documentation

template<typename eT >
typedef eT Proxy< subview< eT > >::elem_type

Definition at line 216 of file Proxy.hpp.

template<typename eT >
typedef get_pod_type<elem_type>::result Proxy< subview< eT > >::pod_type

Definition at line 217 of file Proxy.hpp.

template<typename eT >
typedef subview<eT> Proxy< subview< eT > >::stored_type

Definition at line 218 of file Proxy.hpp.


Constructor & Destructor Documentation

template<typename eT >
Proxy< subview< eT > >::Proxy ( const subview< eT > &  A  )  [inline, explicit]

Definition at line 226 of file Proxy.hpp.

    : Q(A)
    , n_rows(A.n_rows)
    , n_cols(A.n_cols)
    , n_elem(A.n_elem)
    {
    arma_extra_debug_sigprint();
    }


Member Function Documentation

template<typename eT >
arma_inline elem_type Proxy< subview< eT > >::operator[] ( const u32  i  )  const [inline]

Definition at line 235 of file Proxy.hpp.

{ return Q[i];           }

template<typename eT >
arma_inline elem_type Proxy< subview< eT > >::at ( const u32  row,
const u32  col 
) const [inline]

Definition at line 236 of file Proxy.hpp.

{ return Q.at(row, col); }


Member Data Documentation

template<typename eT >
const subview<eT>& Proxy< subview< eT > >::Q

Definition at line 220 of file Proxy.hpp.

template<typename eT >
const u32 Proxy< subview< eT > >::n_rows

Definition at line 222 of file Proxy.hpp.

template<typename eT >
const u32 Proxy< subview< eT > >::n_cols

Definition at line 223 of file Proxy.hpp.

template<typename eT >
const u32 Proxy< subview< eT > >::n_elem

Definition at line 224 of file Proxy.hpp.