linbox
1
|
#include <submatrix.h>
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 |
special case for the submatrix of a dense matrix
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
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
M | reference to DenseMatrix} of which to construct submatrix |
row | Starting row |
col | Starting column |
rowdim | Row dimension |
coldim | Column dimension |
Submatrix | ( | const Submatrix< DenseMatrix< Field > > * | SM, |
size_t | row, | ||
size_t | col, | ||
size_t | rowdim, | ||
size_t | coldim | ||
) | [inline] |
Constructor from an existing submatrix and dimensions
SM | pointer to Submatrix from which to construct submatrix |
row | Starting row |
col | Starting column |
rowdim | Row dimension |
coldim | Column dimension |
Submatrix | ( | const Submatrix< DenseMatrix< Field > > & | SM, |
size_t | row, | ||
size_t | col, | ||
size_t | rowdim, | ||
size_t | coldim | ||
) | [inline] |
Constructor from an existing submatrix and dimensions
SM | reference to Submatrix from which to construct submatrix |
row | Starting row |
col | Starting column |
rowdim | Row dimension |
coldim | Column dimension |
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.
y | Output vector |
x | Input 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
y | Output vector |
x | Input vector |