Public Member Functions | Public Attributes

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

#include <unwrap.hpp>

List of all members.

Public Member Functions

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

Definition at line 1193 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 1198 of file unwrap.hpp.

    : do_trans(true)
    , do_times(false)
    , val     (1)
    , M_local ( (&A.m == &B) ? new Mat<eT>(A.m) : 0   )
    , M       ( (&A.m == &B) ? (*M_local)       : A.m )
    {
    arma_extra_debug_sigprint();
    }

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

Definition at line 1209 of file unwrap.hpp.

    {
    arma_extra_debug_sigprint();
    
    if(M_local)
      {
      delete M_local;
      }
    }


Member Data Documentation

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

Definition at line 1221 of file unwrap.hpp.

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

Definition at line 1222 of file unwrap.hpp.

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

Definition at line 1223 of file unwrap.hpp.

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

Definition at line 1224 of file unwrap.hpp.

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

Definition at line 1225 of file unwrap.hpp.