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

#include <unwrap.hpp>

List of all members.

Public Member Functions

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


Detailed Description

template<typename eT>
class unwrap_to_elem_access< subview< eT > >

Definition at line 347 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 351 of file unwrap.hpp.

00352     : M(A)
00353     {
00354     arma_extra_debug_sigprint();
00355     }


Member Function Documentation

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

Definition at line 357 of file unwrap.hpp.

00357 { return M[i]; }

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

Definition at line 358 of file unwrap.hpp.

00358 { return M(i); }

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

Definition at line 360 of file unwrap.hpp.

00360 { return M(in_row,in_col);    }

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

Definition at line 361 of file unwrap.hpp.

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


Member Data Documentation

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

Definition at line 363 of file unwrap.hpp.