Inherits BlackboxInterface.
|
| SumOwner (const Blackbox1 &A, const Blackbox2 &B) |
| Constructor from black box matrices. More...
|
|
| SumOwner (const Blackbox1 *A_data, const Blackbox2 *B_data) |
| Constructor from black box pointers. More...
|
|
| SumOwner (const SumOwner< Blackbox1, Blackbox2 > &M) |
| Copy constructor. More...
|
|
| ~SumOwner (void) |
| Destructor.
|
|
template<class OutVector , class InVector > |
OutVector & | apply (OutVector &y, const InVector &x) const |
| Application of BlackBox matrix. More...
|
|
template<class OutVector , class InVector > |
OutVector & | applyTranspose (OutVector &y, const InVector &x) const |
| Application of BlackBox matrix transpose. More...
|
|
size_t | rowdim (void) const |
| Retreive row dimensions of BlackBox matrix. More...
|
|
size_t | coldim (void) const |
| Retreive column dimensions of BlackBox matrix. More...
|
|
template<class _Blackbox1, class _Blackbox2>
class LinBox::SumOwner< _Blackbox1, _Blackbox2 >
blackbox of a matrix sum without copying.
Adds only at apply time. Given two black boxes A and B of the same dimensions, form a black box representing A+B, i.e., SumOwner(A,B)x=(A+B)x=Ax+Bx