|
linbox
|
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 >:Data Structures | |
| struct | rebind |
Public Types | |
| typedef _Blackbox1 | Blackbox1 |
| typedef _Blackbox2 | Blackbox2 |
| typedef Blackbox1::Field | Field |
| typedef Blackbox1::Element | Element |
Public Member Functions | |
| DirectSum (const Blackbox1 &A, const Blackbox2 &B) | |
| Constructor from two black box matrices. | |
| DirectSum (const Blackbox1 *Ap, const Blackbox2 *Bp) | |
| Constructor from two black box matrix pointers. | |
| DirectSum (const DirectSum< Blackbox1, Blackbox2 > &M) | |
| Copy constructor. | |
| ~DirectSum (void) | |
| Destructor. | |
| 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 Field & | field () const |
| const Blackbox1 * | getLeftPtr () const |
| const Blackbox2 * | getRightPtr () const |
| std::ostream & | write (std::ostream &os) const |
Protected Attributes | |
| const Blackbox1 * | _Ap |
| const Blackbox2 * | _Bp |
If C = DirectSum(A, B) and y = xA and z = wB, then (y,z) = (x,w)C.
And similarly for apply.
| typedef _Blackbox1 Blackbox1 |
| typedef _Blackbox2 Blackbox2 |
| typedef Blackbox1::Field Field |
| typedef Blackbox1::Element Element |
|
inline |
Constructor from two black box matrices.
This becomes direct sum of A and B. They may be rectangular.
| A | black box matrices over a common field. |
| B | black box matrices over a common field. |
|
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).
| Ap | pointer to black box matrix A. |
| Bp | pointer to black box matrix B. |
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |