Submatrix< DenseMatrix< _Field >, VectorCategories::DenseVectorTag > Class Template Reference
#include <submatrix.h>
List of all members.
Public Member Functions |
| Submatrix (const DenseMatrix< Field > *M, size_t row, size_t col, size_t rowdim, size_t coldim) |
| Submatrix (const DenseMatrix< Field > &M, size_t row, size_t col, size_t rowdim, size_t coldim) |
| Submatrix (const Submatrix< DenseMatrix< Field > > *SM, size_t row, size_t col, size_t rowdim, size_t coldim) |
| Submatrix (const Submatrix< DenseMatrix< Field > > &SM, size_t row, size_t col, size_t rowdim, size_t coldim) |
template<class Vect1 , class Vect2 > |
Vect1 & | apply (Vect1 &y, const Vect2 &x) const |
template<class Vect1 , class Vect2 > |
Vect1 & | applyTranspose (Vect1 &y, const Vect2 &x) const |
Detailed Description
template<class _Field>
class LinBox::Submatrix< DenseMatrix< _Field >, VectorCategories::DenseVectorTag >
special case for the submatrix of a dense matrix
Constructor & Destructor Documentation
Submatrix |
( |
const DenseMatrix< Field > * |
M, |
|
|
size_t |
row, |
|
|
size_t |
col, |
|
|
size_t |
rowdim, |
|
|
size_t |
coldim | |
|
) |
| | [inline] |
Constructor from an existing DenseMatrix} and dimensions
- Parameters:
-
| M | Pointer to DenseMatrix} of which to construct submatrix |
| row | Starting row |
| col | Starting column |
| rowdim | Row dimension |
| coldim | Column dimension |
Submatrix |
( |
const DenseMatrix< Field > & |
M, |
|
|
size_t |
row, |
|
|
size_t |
col, |
|
|
size_t |
rowdim, |
|
|
size_t |
coldim | |
|
) |
| | [inline] |
Constructor from an existing DenseMatrix} and dimensions
- Parameters:
-
| M | reference to DenseMatrix} of which to construct submatrix |
| row | Starting row |
| col | Starting column |
| rowdim | Row dimension |
| coldim | Column dimension |
Constructor from an existing submatrix and dimensions
- Parameters:
-
| SM | pointer to Submatrix from which to construct submatrix |
| row | Starting row |
| col | Starting column |
| rowdim | Row dimension |
| coldim | Column dimension |
Constructor from an existing submatrix and dimensions
- Parameters:
-
| SM | reference to Submatrix from which to construct submatrix |
| row | Starting row |
| col | Starting column |
| rowdim | Row dimension |
| coldim | Column dimension |
Member Function Documentation
Vect1& apply |
( |
Vect1 & |
y, |
|
|
const Vect2 & |
x | |
|
) |
| | const [inline] |
Generic matrix-vector apply y = A * x. This version of apply allows use of arbitrary input and output vector * types.
- Parameters:
-
| y | Output vector |
| x | Input vector |
- Returns:
- Reference to output vector
Vect1& applyTranspose |
( |
Vect1 & |
y, |
|
|
const Vect2 & |
x | |
|
) |
| | const [inline] |
Generic matrix-vector transpose apply y = A^T * x This version of applyTranspose allows use of arbitrary input and output vector types
- Parameters:
-
| y | Output vector |
| x | Input vector |
- Returns:
- Reference to output vector
The documentation for this class was generated from the following file:
- /tmp/buildd/linbox-1.1.6~rc0/linbox/blackbox/submatrix.h