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>
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() [1/2]

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() [2/2]

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: