linbox
DirectSumOwner< _Blackbox1, _Blackbox2 > Class Template Reference

#include <direct-sum.h>

+ Inheritance diagram for DirectSumOwner< _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

 DirectSumOwner (const Blackbox1 &A, const Blackbox2 &B)
 Constructor from two black box matrices.
 
 DirectSumOwner (const Blackbox1 *Ap, const Blackbox2 *Bp)
 Constructor from two black box matrix pointers.
 
 DirectSumOwner (const DirectSumOwner< Blackbox1, Blackbox2 > &M)
 Copy constructor.
 
 ~DirectSumOwner (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
 
template<typename _BBt1, typename _BBt2, typename Field>
 DirectSumOwner (const DirectSum< _BBt1, _BBt2 > &M, const Field &F)
 
template<typename _BBt1, typename _BBt2, typename Field>
 DirectSumOwner (const DirectSumOwner< _BBt1, _BBt2 > &M, const Field &F)
 
size_t rowdim (void) const
 
size_t coldim (void) const
 
const Fieldfield () const
 
const Blackbox1getLeftData () const
 
const Blackbox2getRightData () const
 

Protected Attributes

Blackbox1 _A_data
 
Blackbox2 _B_data
 

Member Typedef Documentation

◆ Blackbox1

template<class _Blackbox1, class _Blackbox2>
typedef _Blackbox1 Blackbox1

◆ Blackbox2

template<class _Blackbox1, class _Blackbox2>
typedef _Blackbox2 Blackbox2

◆ Field

template<class _Blackbox1, class _Blackbox2>
typedef Blackbox1::Field Field

◆ Element

template<class _Blackbox1, class _Blackbox2>
typedef Blackbox1::Element Element

Constructor & Destructor Documentation

◆ DirectSumOwner() [1/5]

template<class _Blackbox1, class _Blackbox2>
DirectSumOwner ( 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.

◆ DirectSumOwner() [2/5]

template<class _Blackbox1, class _Blackbox2>
DirectSumOwner ( 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.

◆ DirectSumOwner() [3/5]

template<class _Blackbox1, class _Blackbox2>
DirectSumOwner ( const DirectSumOwner< Blackbox1, Blackbox2 > & M)
inline

Copy constructor.

◆ ~DirectSumOwner()

template<class _Blackbox1, class _Blackbox2>
~DirectSumOwner ( void )
inline

Destructor.

◆ DirectSumOwner() [4/5]

template<class _Blackbox1, class _Blackbox2>
template<typename _BBt1, typename _BBt2, typename Field>
DirectSumOwner ( const DirectSum< _BBt1, _BBt2 > & M,
const Field & F )
inline

◆ DirectSumOwner() [5/5]

template<class _Blackbox1, class _Blackbox2>
template<typename _BBt1, typename _BBt2, typename Field>
DirectSumOwner ( const DirectSumOwner< _BBt1, _BBt2 > & M,
const Field & F )
inline

Member Function Documentation

◆ apply()

template<class _Blackbox1, class _Blackbox2>
template<class OutVector, class InVector>
OutVector & apply ( OutVector & y,
const InVector & x ) const
inline

◆ applyTranspose()

template<class _Blackbox1, class _Blackbox2>
template<class OutVector, class InVector>
OutVector & applyTranspose ( OutVector & y,
const InVector & x ) const
inline

◆ rowdim()

template<class _Blackbox1, class _Blackbox2>
size_t rowdim ( void ) const
inline

◆ coldim()

template<class _Blackbox1, class _Blackbox2>
size_t coldim ( void ) const
inline

◆ field()

template<class _Blackbox1, class _Blackbox2>
const Field & field ( ) const
inline

◆ getLeftData()

template<class _Blackbox1, class _Blackbox2>
const Blackbox1 & getLeftData ( ) const
inline

◆ getRightData()

template<class _Blackbox1, class _Blackbox2>
const Blackbox2 & getRightData ( ) const
inline

Field Documentation

◆ _A_data

template<class _Blackbox1, class _Blackbox2>
Blackbox1 _A_data
protected

◆ _B_data

template<class _Blackbox1, class _Blackbox2>
Blackbox2 _B_data
protected

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