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

#include <unwrap.hpp>

List of all members.

Public Member Functions

 unwrap_to_elem_access (const Mat< 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 Mat< eT > & M


Detailed Description

template<typename eT>
class unwrap_to_elem_access< Mat< eT > >

Definition at line 175 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 179 of file unwrap.hpp.

00180     : M(A)
00181     {
00182     arma_extra_debug_sigprint();
00183     }


Member Function Documentation

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

Definition at line 185 of file unwrap.hpp.

00185 { return M[i]; }

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

Definition at line 186 of file unwrap.hpp.

00186 { return M(i); }

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

Definition at line 188 of file unwrap.hpp.

00188 { return M(in_row,in_col);    }

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

Definition at line 189 of file unwrap.hpp.

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


Member Data Documentation

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

Definition at line 192 of file unwrap.hpp.