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

#include <unwrap.hpp>

List of all members.

Public Member Functions

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

Definition at line 1049 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 1054 of file unwrap.hpp.

01055     : do_trans(true)
01056     , do_times(false)
01057     , val     (1)
01058     , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
01059     , M       ( (&A.m == &B) ? (*M_local)       : A.m )
01060     {
01061     arma_extra_debug_sigprint();
01062     }

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

Definition at line 1065 of file unwrap.hpp.

01066     {
01067     arma_extra_debug_sigprint();
01068     
01069     if(M_local)
01070       {
01071       delete M_local;
01072       }
01073     }


Member Data Documentation

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

Definition at line 1077 of file unwrap.hpp.

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

Definition at line 1078 of file unwrap.hpp.

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

Definition at line 1079 of file unwrap.hpp.

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

Definition at line 1080 of file unwrap.hpp.

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

Definition at line 1081 of file unwrap.hpp.