Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Compose< _Blackbox, _Blackbox > Class Template Reference

#include <compose.h>

Inheritance diagram for Compose< _Blackbox, _Blackbox >:

BlackboxInterface

Detailed Description

template<class _Blackbox>
class LinBox::Compose< _Blackbox, _Blackbox >

specialization for _Blackbox1 = _Blackbox2


Public Types

typedef _Blackbox Blackbox
typedef _Blackbox::Field Field
typedef _Blackbox::Element Element

Public Member Functions

 Compose (const Blackbox &A, const Blackbox &B)
 Compose (const Blackbox *Ap, const Blackbox *Bp)
template<class BPVector>  Compose (const BPVector &v)
 ~Compose ()
template<class OutVector, class InVector> OutVector & apply (OutVector &y, const InVector &x) const
template<class OutVector, class InVector> OutVector & applyTranspose (OutVector &y, const InVector &x) const
size_t rowdim (void) const
size_t coldim (void) const
const Fieldfield () const
const BlackboxgetLeftPtr () const
const BlackboxgetRightPtr () const

Protected Attributes

std::vector< const Blackbox * > _BlackboxL
std::vector< std::vector<
Element > > 
_zl


Member Typedef Documentation

typedef _Blackbox Blackbox
 

typedef _Blackbox::Field Field
 

typedef _Blackbox::Element Element
 


Constructor & Destructor Documentation

~Compose  )  [inline]
 


Member Function Documentation

Compose const Blackbox A,
const Blackbox B
[inline]
 

Compose const Blackbox Ap,
const Blackbox Bp
[inline]
 

Compose const BPVector &  v  )  [inline]
 

Constructor of C := A*B from blackbox matrices A and B. Build the product A*B of any two black box matrices of compatible dimensions. Requires A.coldim() equals B.rowdim().

OutVector& apply OutVector &  y,
const InVector &  x
const [inline]
 

OutVector& applyTranspose OutVector &  y,
const InVector &  x
const [inline]
 

size_t rowdim void   )  const [inline]
 

size_t coldim void   )  const [inline]
 

const Field& field  )  const [inline]
 

const Blackbox* getLeftPtr  )  const [inline]
 

const Blackbox* getRightPtr  )  const [inline]
 


Field Documentation

std::vector<const Blackbox*> _BlackboxL [protected]
 

std::vector<std::vector<Element> > _zl [mutable, protected]
 


Generated on Fri Jul 8 10:29:47 2005 for linbox by doxygen 1.3.7