unwrap_to_elem_access< Col< eT > > Class Template Reference
[Unwrap]

#include <unwrap.hpp>

List of all members.

Public Member Functions

 unwrap_to_elem_access (const Col< eT > &A)
eT operator[] (const u32 i) const
eT operator() (const u32 i) const
eT operator() (const u32 in_row, const u32 in_col) const
eT at (const u32 in_row, const u32 in_col) const

Public Attributes

const Col< eT > & M


Detailed Description

template<typename eT>
class unwrap_to_elem_access< Col< eT > >

Definition at line 251 of file unwrap.hpp.


Constructor & Destructor Documentation

template<typename eT >
unwrap_to_elem_access< Col< eT > >::unwrap_to_elem_access ( const Col< eT > &  A  )  [inline]

Definition at line 255 of file unwrap.hpp.

00256     : M(A)
00257     {
00258     arma_extra_debug_sigprint();
00259     }


Member Function Documentation

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

Definition at line 261 of file unwrap.hpp.

00261 { return M[i]; }

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

Definition at line 262 of file unwrap.hpp.

00262 { return M(i); }

template<typename eT >
eT unwrap_to_elem_access< Col< eT > >::operator() ( const u32  in_row,
const u32  in_col 
) const [inline]

Definition at line 264 of file unwrap.hpp.

00264 { return M(in_row,in_col);    }

template<typename eT >
eT unwrap_to_elem_access< Col< eT > >::at ( const u32  in_row,
const u32  in_col 
) const [inline]

Definition at line 265 of file unwrap.hpp.

00265 { return M.at(in_row,in_col); }


Member Data Documentation

template<typename eT >
const Col<eT>& unwrap_to_elem_access< Col< eT > >::M

Definition at line 267 of file unwrap.hpp.