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

#include <unwrap.hpp>

List of all members.

Public Member Functions

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

Definition at line 943 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 948 of file unwrap.hpp.

00949     : do_trans(true)
00950     , do_times(true)
00951     , val     (A.aux)
00952     , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
00953     , M       ( (&A.m == &B) ? (*M_local)       : A.m )
00954     {
00955     arma_extra_debug_sigprint();
00956     }

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

Definition at line 959 of file unwrap.hpp.

00960     {
00961     arma_extra_debug_sigprint();
00962     
00963     if(M_local)
00964       {
00965       delete M_local;
00966       }
00967     }


Member Data Documentation

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

Definition at line 971 of file unwrap.hpp.

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

Definition at line 972 of file unwrap.hpp.

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

Definition at line 973 of file unwrap.hpp.

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

Definition at line 974 of file unwrap.hpp.

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

Definition at line 975 of file unwrap.hpp.