linbox
Public Member Functions
Submatrix< Blackbox, VectorCategories::DenseZeroOneVectorTag > Class Template Reference

Specialization for dense ZeroOne vectors. More...

#include <submatrix.h>

+ Inheritance diagram for Submatrix< Blackbox, VectorCategories::DenseZeroOneVectorTag >:

Public Member Functions

 Submatrix (const Blackbox *BB, size_t row, size_t col, size_t Rowdim, size_t Coldim)
 Constructor from field and dense vector of field elements. More...
 
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...
 

Detailed Description

template<class Blackbox>
class LinBox::Submatrix< Blackbox, VectorCategories::DenseZeroOneVectorTag >

Specialization for dense ZeroOne vectors.

Constructor & Destructor Documentation

Submatrix ( const Blackbox *  BB,
size_t  row,
size_t  col,
size_t  Rowdim,
size_t  Coldim 
)
inline

Constructor from field and dense vector of field elements.

Parameters
BBBlack box from which to extract the submatrix
rowFirst row of the submatrix to extract (1.._BB->rowdim ())
colFirst column of the submatrix to extract (1.._BB->coldim ())
RowdimRow dimension
ColdimColumn dimension

Member Function Documentation

OutVector& apply ( OutVector &  y,
const InVector &  x 
) const
inlineinherited

Application of BlackBox matrix.

y= A*x. Requires one vector conforming to the LinBox vector archetype. Required by abstract base class.

Returns
reference to vector y containing output.
Parameters
xconstant reference to vector to contain input
y
OutVector& applyTranspose ( OutVector &  y,
const InVector &  x 
) const
inlineinherited

Application of BlackBox matrix transpose.

y= transpose(A)*x. Requires one vector conforming to the LinBox vector archetype. Required by abstract base class.

Returns
reference to vector y containing output.
Parameters
xconstant reference to vector to contain input
y
size_t rowdim ( void  ) const
inlineinherited

Retreive _row dimensions of BlackBox matrix.

This may be needed for applying preconditioners. Required by abstract base class.

Returns
integer number of _rows of black box matrix.
size_t coldim ( void  ) const
inlineinherited

Retreive _column dimensions of BlackBox matrix.

Required by abstract base class.

Returns
integer number of _columns of black box matrix.

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