linbox
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>

Inherits BlackboxInterface.

Public Member Functions

 DirectSum (const Blackbox1 &A, const Blackbox2 &B)
 Constructor from two black box matrices. More...
 
 DirectSum (const Blackbox1 *Ap, const Blackbox2 *Bp)
 Constructor from two black box matrix pointers. More...
 
 DirectSum (const DirectSum< Blackbox1, Blackbox2 > &M)
 Copy constructor.
 
 ~DirectSum (void)
 Destructor.
 

Detailed Description

template<class Blackbox1, class Blackbox2 = Blackbox1>
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.

Examples:
examples/samplebb.C.

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
Ablack box matrices over a common field.
Bblack 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
Appointer to black box matrix A.
Bppointer to black box matrix B.

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