unwrap_check< Col< eT > > Class Template Reference
[Unwrap]

#include <unwrap.hpp>

List of all members.

Public Member Functions

 unwrap_check (const Col< eT > &A, const Mat< eT > &B)
 unwrap_check (const Col< eT > &A, const Row< eT > &B)
 unwrap_check (const Col< eT > &A, const Col< eT > &B)
 unwrap_check (const Col< eT > &A, const subview< eT > &B)
 unwrap_check (const Col< eT > &A, const diagview< eT > &B)
 ~unwrap_check ()

Public Attributes

const Col< eT > * M_local
const Col< eT > & M


Detailed Description

template<typename eT>
class unwrap_check< Col< eT > >

Definition at line 526 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 531 of file unwrap.hpp.

00532     : M_local( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? new Col<eT>(A) : 0 )
00533     , M      ( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? (*M_local)     : A )
00534     {
00535     arma_extra_debug_sigprint();
00536     }

template<typename eT >
unwrap_check< Col< eT > >::unwrap_check ( const Col< eT > &  A,
const Row< eT > &  B 
) [inline]

Definition at line 540 of file unwrap.hpp.

00541     : M_local( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? new Col<eT>(A) : 0 )
00542     , M      ( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? (*M_local)     : A )
00543     {
00544     arma_extra_debug_sigprint();
00545     }

template<typename eT >
unwrap_check< Col< eT > >::unwrap_check ( const Col< eT > &  A,
const Col< eT > &  B 
) [inline]

Definition at line 549 of file unwrap.hpp.

00550     : M_local( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? new Col<eT>(A) : 0 )
00551     , M      ( (&A == reinterpret_cast<const Col<eT>*>(&B)) ? (*M_local)     : A )
00552     {
00553     arma_extra_debug_sigprint();
00554     }

template<typename eT >
unwrap_check< Col< eT > >::unwrap_check ( const Col< eT > &  A,
const subview< eT > &  B 
) [inline]

Definition at line 558 of file unwrap.hpp.

00559     : M_local( (&A == reinterpret_cast<const Col<eT>*>(&B.m)) ? new Col<eT>(A) : 0 )
00560     , M      ( (&A == reinterpret_cast<const Col<eT>*>(&B.m)) ? (*M_local)     : A )
00561     {
00562     arma_extra_debug_sigprint();
00563     }

template<typename eT >
unwrap_check< Col< eT > >::unwrap_check ( const Col< eT > &  A,
const diagview< eT > &  B 
) [inline]

Definition at line 567 of file unwrap.hpp.

00568     : M_local( (&A == reinterpret_cast<const Col<eT>*>(&B.m)) ? new Col<eT>(A) : 0 )
00569     , M      ( (&A == reinterpret_cast<const Col<eT>*>(&B.m)) ? (*M_local)     : A )
00570     {
00571     arma_extra_debug_sigprint();
00572     }

template<typename eT >
unwrap_check< Col< eT > >::~unwrap_check (  )  [inline]

Definition at line 576 of file unwrap.hpp.

00577     {
00578     arma_extra_debug_sigprint();
00579     
00580     if(M_local)
00581       delete M_local;
00582     }


Member Data Documentation

template<typename eT >
const Col<eT>* unwrap_check< Col< eT > >::M_local

Definition at line 586 of file unwrap.hpp.

template<typename eT >
const Col<eT>& unwrap_check< Col< eT > >::M

Definition at line 587 of file unwrap.hpp.