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 |
![]() | |
DenseSubmatrix () | |
DenseSubmatrix (DenseMatrixBase< Element > &M, size_t row, size_t col, size_t rowdim, size_t coldim) | |
DenseSubmatrix (DenseMatrixBase< Element > &M) | |
DenseSubmatrix (const DenseSubmatrix< Element > &SM, size_t row, size_t col, size_t rowdim, size_t coldim) | |
DenseSubmatrix (const DenseSubmatrix< Element > &SM) | |
DenseSubmatrix & | operator= (const DenseSubmatrix< Element > &SM) |
size_t | rowdim () const |
size_t | coldim () const |
std::istream & | read (std::istream &file, const Field &field) |
std::ostream & | write (std::ostream &os, const Field &field, bool mapleFormat=false) const |
void | setEntry (size_t i, size_t j, const Element &a_ij) |
Element & | refEntry (size_t i, size_t j) |
const Element & | getEntry (size_t i, size_t j) const |
Element & | getEntry (Element &x, size_t i, size_t j) |
Additional Inherited Members | |
![]() | |
typedef DenseMatrixBase < Element >::RowIterator | RowIterator |
The row iterator gives the rows of the matrix in ascending order. Dereferencing the iterator yields a row vector in dense format. | |
typedef DenseMatrixBase < Element >::ColIterator | ColIterator |
The columns iterator gives the columns of the matrix in ascending order. Dereferencing the iterator yields a column vector in dense format. | |
![]() | |
DenseMatrixBase< Element > * | _M |
special case for the submatrix of a dense matrix
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |