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

Blackbox of a product: $C = AB$, i.e $Cx \gets A(Bx)$. More...

#include <block-compose.h>

Inherits BlackboxInterface.

Public Member Functions

 BlockCompose (const Blackbox1 &A, const Blackbox2 &B)
 Constructor of C := A*B from blackbox matrices A and B. More...
 

Detailed Description

template<class _Blackbox1, class _Blackbox2>
class LinBox::BlockCompose< _Blackbox1, _Blackbox2 >

Blackbox of a product: $C = AB$, i.e $Cx \gets A(Bx)$.

This is a class that multiplies two matrices by implementing an apply method that calls the apply methods of both of the consituent matrices, one after the other.

This class, like the Black Box archetype from which it is derived, is templatized by the vector type to which the matrix is applied. Both constituent matrices must also use this same vector type. For specification of the blackbox members see BlackboxArchetype.

Template parameter: must meet the vector requirement.

Constructor & Destructor Documentation

◆ BlockCompose()

BlockCompose ( const Blackbox1 &  A,
const Blackbox2 &  B 
)
inline

Constructor of C := A*B from blackbox matrices A and B.

Build the product A*B of any two black box matrices of compatible dimensions.

Precondition
A.coldim() == B.rowdim().
Parameters
Ablackbox
Bblackbox

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