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

Public Member Functions

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

Public Attributes

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

Detailed Description

template<typename eT>
class Proxy< Col< eT > >

Definition at line 74 of file Proxy.hpp.


Member Typedef Documentation

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

Definition at line 78 of file Proxy.hpp.

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

Definition at line 79 of file Proxy.hpp.

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

Definition at line 80 of file Proxy.hpp.


Constructor & Destructor Documentation

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

Definition at line 88 of file Proxy.hpp.

00089     : Q(A)
00090     , n_rows(A.n_rows)
00091     , n_cols(A.n_cols)
00092     , n_elem(A.n_elem)
00093     {
00094     arma_extra_debug_sigprint();
00095     }

template<typename eT >
Proxy< Col< eT > >::Proxy ( const u32  in_n_rows,
const u32  in_n_cols 
) [inline, explicit]

Definition at line 97 of file Proxy.hpp.

00098     : Q(Q)
00099     , n_rows(in_n_rows)
00100     , n_cols(in_n_cols)
00101     , n_elem(in_n_rows*in_n_cols)
00102     {
00103     arma_extra_debug_sigprint();
00104     }


Member Function Documentation

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

Definition at line 106 of file Proxy.hpp.

00106 { return Q[i];           }

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

Definition at line 107 of file Proxy.hpp.

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


Member Data Documentation

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

Definition at line 82 of file Proxy.hpp.

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

Definition at line 84 of file Proxy.hpp.

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

Definition at line 85 of file Proxy.hpp.

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

Definition at line 86 of file Proxy.hpp.