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

#include <unwrap.hpp>

List of all members.

Public Member Functions

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

Public Attributes

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


Detailed Description

template<typename eT>
class unwrap_check< Row< eT > >

Definition at line 457 of file unwrap.hpp.


Constructor & Destructor Documentation

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

Definition at line 462 of file unwrap.hpp.

00463     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? new Row<eT>(A) : 0 )
00464     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? (*M_local)     : A )
00465     {
00466     arma_extra_debug_sigprint();
00467     }

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

Definition at line 471 of file unwrap.hpp.

00472     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? new Row<eT>(A) : 0 )
00473     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? (*M_local)     : A )
00474     {
00475     arma_extra_debug_sigprint();
00476     }

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

Definition at line 479 of file unwrap.hpp.

00480     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? new Row<eT>(A) : 0 )
00481     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? (*M_local)     : A )
00482     {
00483     arma_extra_debug_sigprint();
00484     }

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

Definition at line 488 of file unwrap.hpp.

00489     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B.m)) ? new Row<eT>(A) : 0 )
00490     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B.m)) ? (*M_local)     : A )
00491     {
00492     arma_extra_debug_sigprint();
00493     }

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

Definition at line 497 of file unwrap.hpp.

00498     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B.m)) ? new Row<eT>(A) : 0 )
00499     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B.m)) ? (*M_local)     : A )
00500     {
00501     arma_extra_debug_sigprint();
00502     }

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

Definition at line 506 of file unwrap.hpp.

00507     {
00508     arma_extra_debug_sigprint();
00509     
00510     if(M_local)
00511       delete M_local;
00512     }


Member Data Documentation

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

Definition at line 516 of file unwrap.hpp.

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

Definition at line 517 of file unwrap.hpp.