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 835 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 840 of file unwrap.hpp.

00841     : do_trans(false)
00842     , do_times(false)
00843     , val     (1)
00844     , M_local ( (&A == &B) ? new Mat<eT>(A) : 0 )
00845     , M       ( (&A == &B) ? (*M_local)     : A )
00846     {
00847     arma_extra_debug_sigprint();
00848     }

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

Definition at line 852 of file unwrap.hpp.

00853     {
00854     arma_extra_debug_sigprint();
00855     
00856     if(M_local)
00857       {
00858       delete M_local;
00859       }
00860     }


Member Data Documentation

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

Definition at line 864 of file unwrap.hpp.

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

Definition at line 865 of file unwrap.hpp.

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

Definition at line 866 of file unwrap.hpp.

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

Definition at line 867 of file unwrap.hpp.

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

Definition at line 868 of file unwrap.hpp.