Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

DirectSum Class Template Reference
[linbox/blackbox]

#include <direct-sum.h>

Inheritance diagram for DirectSum:

BlackboxInterface List of all members.

Detailed Description

template<class _Blackbox1, class _Blackbox2>
class LinBox::DirectSum< _Blackbox1, _Blackbox2 >

If C = DirectSum(A, B) and y = xA and z = wB, then (y,z) = (x,w)C.

And similarly for apply.


Public Member Functions

 DirectSum (const Blackbox1 &A, const Blackbox2 &B)
 DirectSum (const Blackbox1 *Ap, const Blackbox2 *Bp)
 DirectSum (const DirectSum< Blackbox1, Blackbox2 > &M)
 Copy constructor.

 ~DirectSum (void)
 Destructor.


Constructor & Destructor Documentation

DirectSum const Blackbox1 &  A,
const Blackbox2 &  B
[inline]
 

Constructor from two black box matrices. This becomes direct sum of A and B. They may be rectangular.

Parameters:
A,B: black box matrices over a common field.

DirectSum const Blackbox1 *  Ap,
const Blackbox2 *  Bp
[inline]
 

Constructor from two black box matrix pointers. This becomes direct sum of A and B. They may be rectangular. They must be over the same field (or ring).

Parameters:
A_ptr pointer to black box matrix A.
B_ptr pointer to black box matrix B.


The documentation for this class was generated from the following file:
Generated on Thu Feb 8 22:32:58 2007 for linbox by doxygen 1.3.4