partial_unwrap_check< Op< Mat< eT >, op_trans > > Class Template Reference
[Unwrap]

#include <unwrap.hpp>

List of all members.

Public Member Functions

 partial_unwrap_check (const Op< Mat< eT >, op_trans > &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< Op< Mat< eT >, op_trans > >

Definition at line 905 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 910 of file unwrap.hpp.

00911     : do_trans(true)
00912     , do_times(false)
00913     , val     (1)
00914     , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
00915     , M       ( (&A.m == &B) ? (*M_local)       : A.m )
00916     {
00917     arma_extra_debug_sigprint();
00918     }

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

Definition at line 921 of file unwrap.hpp.

00922     {
00923     arma_extra_debug_sigprint();
00924     
00925     if(M_local)
00926       {
00927       delete M_local;
00928       }
00929     }


Member Data Documentation

template<typename eT >
const bool partial_unwrap_check< Op< Mat< eT >, op_trans > >::do_trans

Definition at line 933 of file unwrap.hpp.

template<typename eT >
const bool partial_unwrap_check< Op< Mat< eT >, op_trans > >::do_times

Definition at line 934 of file unwrap.hpp.

template<typename eT >
const eT partial_unwrap_check< Op< Mat< eT >, op_trans > >::val

Definition at line 935 of file unwrap.hpp.

template<typename eT >
const Mat<eT>* partial_unwrap_check< Op< Mat< eT >, op_trans > >::M_local

Definition at line 936 of file unwrap.hpp.

template<typename eT >
const Mat<eT>& partial_unwrap_check< Op< Mat< eT >, op_trans > >::M

Definition at line 937 of file unwrap.hpp.