The Sliced Matrix class _Domain must be a GF(3) rep, BaseT must be an unsigned int type.
More...
#include <dense-sliced.h>
|
|
typedef DenseMat< SlicedBase< _Domain::Word_T > > | Self_t |
| | Self type.
|
| |
|
| void | submatrix (const DenseMat &A, size_t i, size_t j, size_t m, size_t n) |
| | Set this to be an m by n submatrix of A with upper left corner at i,j position of A.
|
| |
| std::istream & | read (std::istream &file, const Field &field) |
| | Read the matrix from an input stream.
|
| |
| std::ostream & | write (std::ostream &os, const Field &field, bool mapleFormat=false) const |
| | Write the matrix to an output stream.
|
| |
| std::ostream & | write (std::ostream &os, bool mapleFormat=false) const |
| | Write the matrix to an output stream.
|
| |
template<class _Domain>
class LinBox::Sliced< _Domain >
The Sliced Matrix class _Domain must be a GF(3) rep, BaseT must be an unsigned int type.
TODO more docs, discuss row/col slicing
◆ submatrix()
| void submatrix |
( |
const DenseMat< SlicedBase< _Domain::Word_T > > & | A, |
|
|
size_t | i, |
|
|
size_t | j, |
|
|
size_t | m, |
|
|
size_t | n ) |
|
inlineinherited |
Set this to be an m by n submatrix of A with upper left corner at i,j position of A.
Requires i+m <= A.rowdim(), j+n <= A.coldim().
For instance, B.submatrix(A, i, 0, 1, A.coldim()) makes B the i-th row of A.
◆ read()
| std::istream & read |
( |
std::istream & | file, |
|
|
const Field & | field ) |
|
inherited |
Read the matrix from an input stream.
- Parameters
-
| file | Input stream from which to read |
| field | |
◆ write() [1/2]
| std::ostream & write |
( |
std::ostream & | os, |
|
|
const Field & | field, |
|
|
bool | mapleFormat = false ) const |
|
inherited |
Write the matrix to an output stream.
- Parameters
-
| os | Output stream to which to write |
| field | |
| mapleFormat | write in Maple(r) format ? |
◆ write() [2/2]
| std::ostream & write |
( |
std::ostream & | os, |
|
|
bool | mapleFormat = false ) const |
|
inherited |
Write the matrix to an output stream.
This a raw version of write(os,F) (no field is given).
- Parameters
-
| os | Output stream to which to write |
| mapleFormat | write in Maple(r) format ? |
The documentation for this class was generated from the following file: