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

#include <unwrap.hpp>

List of all members.

Public Member Functions

 partial_unwrap_check (const Mat< eT > &A, const Mat< eT > &B)
 ~partial_unwrap_check ()

Public Attributes

const bool do_trans
const bool do_times
const eT val
const Mat< eT > * M_local
const Mat< eT > & M

Detailed Description

template<typename eT>
class partial_unwrap_check< Mat< eT > >

Definition at line 866 of file unwrap.hpp.


Constructor & Destructor Documentation

template<typename eT >
partial_unwrap_check< Mat< eT > >::partial_unwrap_check ( const Mat< eT > &  A,
const Mat< eT > &  B 
) [inline]

Definition at line 871 of file unwrap.hpp.

00872     : do_trans(false)
00873     , do_times(false)
00874     , val     (1)
00875     , M_local ( (&A == &B) ? new Mat<eT>(A) : 0 )
00876     , M       ( (&A == &B) ? (*M_local)     : A )
00877     {
00878     arma_extra_debug_sigprint();
00879     }

template<typename eT >
partial_unwrap_check< Mat< eT > >::~partial_unwrap_check (  )  [inline]

Definition at line 883 of file unwrap.hpp.

00884     {
00885     arma_extra_debug_sigprint();
00886     
00887     if(M_local)
00888       {
00889       delete M_local;
00890       }
00891     }


Member Data Documentation

template<typename eT >
const bool partial_unwrap_check< Mat< eT > >::do_trans

Definition at line 895 of file unwrap.hpp.

template<typename eT >
const bool partial_unwrap_check< Mat< eT > >::do_times

Definition at line 896 of file unwrap.hpp.

template<typename eT >
const eT partial_unwrap_check< Mat< eT > >::val

Definition at line 897 of file unwrap.hpp.

template<typename eT >
const Mat<eT>* partial_unwrap_check< Mat< eT > >::M_local

Definition at line 898 of file unwrap.hpp.

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

Definition at line 899 of file unwrap.hpp.