linbox  1
Public Member Functions
DirectSum< _Blackbox1, _Blackbox2 > Class Template Reference

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

#include <direct-sum.h>

Inheritance diagram for DirectSum< _Blackbox1, _Blackbox2 >:
BlackboxInterface

List of all members.

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.

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.


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_ptrpointer to black box matrix A.
B_ptrpointer to black box matrix B.

The documentation for this class was generated from the following file: