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 1018 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 1023 of file unwrap.hpp.

01024     : do_trans(true)
01025     , do_times(false)
01026     , val     (1)
01027     , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
01028     , M       ( (&A.m == &B) ? (*M_local)       : A.m )
01029     {
01030     arma_extra_debug_sigprint();
01031     }

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

Definition at line 1034 of file unwrap.hpp.

01035     {
01036     arma_extra_debug_sigprint();
01037     
01038     if(M_local)
01039       {
01040       delete M_local;
01041       }
01042     }


Member Data Documentation

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

Definition at line 1046 of file unwrap.hpp.

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

Definition at line 1047 of file unwrap.hpp.

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

Definition at line 1048 of file unwrap.hpp.

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

Definition at line 1049 of file unwrap.hpp.

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

Definition at line 1050 of file unwrap.hpp.