unwrap_to_elem_access< Op< T1, op_type > > Class Template Reference
[Unwrap]

#include <unwrap.hpp>

List of all members.

Public Types

typedef T1::elem_type elem_type

Public Member Functions

 unwrap_to_elem_access (const Op< T1, op_type > &A)
elem_type operator[] (const u32 i) const
elem_type operator() (const u32 i) const
elem_type operator() (const u32 in_row, const u32 in_col) const
elem_type at (const u32 in_row, const u32 in_col) const

Public Attributes

const Mat< elem_typeM


Detailed Description

template<typename T1, typename op_type>
class unwrap_to_elem_access< Op< T1, op_type > >

Definition at line 299 of file unwrap.hpp.


Member Typedef Documentation

template<typename T1 , typename op_type >
typedef T1::elem_type unwrap_to_elem_access< Op< T1, op_type > >::elem_type

Definition at line 302 of file unwrap.hpp.


Constructor & Destructor Documentation

template<typename T1 , typename op_type >
unwrap_to_elem_access< Op< T1, op_type > >::unwrap_to_elem_access ( const Op< T1, op_type > &  A  )  [inline]

Definition at line 304 of file unwrap.hpp.

00305     : M(A)
00306     {
00307     arma_extra_debug_sigprint();
00308     }


Member Function Documentation

template<typename T1 , typename op_type >
elem_type unwrap_to_elem_access< Op< T1, op_type > >::operator[] ( const u32  i  )  const [inline]

Definition at line 310 of file unwrap.hpp.

00310 { return M[i]; }

template<typename T1 , typename op_type >
elem_type unwrap_to_elem_access< Op< T1, op_type > >::operator() ( const u32  i  )  const [inline]

Definition at line 311 of file unwrap.hpp.

00311 { return M(i); }

template<typename T1 , typename op_type >
elem_type unwrap_to_elem_access< Op< T1, op_type > >::operator() ( const u32  in_row,
const u32  in_col 
) const [inline]

Definition at line 313 of file unwrap.hpp.

00313 { return M(in_row,in_col);    }

template<typename T1 , typename op_type >
elem_type unwrap_to_elem_access< Op< T1, op_type > >::at ( const u32  in_row,
const u32  in_col 
) const [inline]

Definition at line 314 of file unwrap.hpp.

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


Member Data Documentation

template<typename T1 , typename op_type >
const Mat<elem_type> unwrap_to_elem_access< Op< T1, op_type > >::M

Definition at line 316 of file unwrap.hpp.