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 874 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 879 of file unwrap.hpp.

00880     : do_trans(true)
00881     , do_times(false)
00882     , val     (1)
00883     , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
00884     , M       ( (&A.m == &B) ? (*M_local)       : A.m )
00885     {
00886     arma_extra_debug_sigprint();
00887     }

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

Definition at line 890 of file unwrap.hpp.

00891     {
00892     arma_extra_debug_sigprint();
00893     
00894     if(M_local)
00895       {
00896       delete M_local;
00897       }
00898     }


Member Data Documentation

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

Definition at line 902 of file unwrap.hpp.

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

Definition at line 903 of file unwrap.hpp.

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

Definition at line 904 of file unwrap.hpp.

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

Definition at line 905 of file unwrap.hpp.

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

Definition at line 906 of file unwrap.hpp.