Public Types | Public Member Functions | Public Attributes

Proxy< diagview< 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 diagview< eT > stored_type

Public Member Functions

 Proxy (const diagview< 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 diagview< eT > & Q
const u32 n_rows
const u32 n_cols
const u32 n_elem

Detailed Description

template<typename eT>
class Proxy< diagview< eT > >

Definition at line 243 of file Proxy.hpp.


Member Typedef Documentation

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

Definition at line 247 of file Proxy.hpp.

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

Definition at line 248 of file Proxy.hpp.

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

Definition at line 249 of file Proxy.hpp.


Constructor & Destructor Documentation

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

Definition at line 257 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< diagview< eT > >::operator[] ( const u32  i  )  const [inline]

Definition at line 266 of file Proxy.hpp.

{ return Q[i];           }

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

Definition at line 267 of file Proxy.hpp.

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


Member Data Documentation

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

Definition at line 251 of file Proxy.hpp.

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

Definition at line 253 of file Proxy.hpp.

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

Definition at line 254 of file Proxy.hpp.

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

Definition at line 255 of file Proxy.hpp.