TransposedBlasMatrix.
More...
#include <blas-transposed-matrix.h>
|
|
typedef Field::Element_ptr | Element_ptr |
| | Pointer to Element type.
|
| |
|
typedef Field::ConstElement_ptr | ConstElement_ptr |
| | Pointer to const Element type.
|
| |
|
| const Field & | field () const |
| | Get the field of the matrix.
|
| |
| size_t | rowdim () const |
| | Get the number of rows in the matrix.
|
| |
| size_t | coldim () const |
| | Get the number of columns in the matrix.
|
| |
|
| std::ostream & | write (std::ostream &stream) const |
| | Write a matrix to an output stream.
|
| |
|
| void | setEntry (size_t i, size_t j, const Element &a_ij) |
| | Set the entry at the (i, j) position to a_ij.
|
| |
| Element & | refEntry (size_t i, size_t j) |
| | Get a writeable reference to the entry in the (i, j) position.
|
| |
| const Element & | getEntry (size_t i, size_t j) const |
| | Get a read-only reference to the entry in the (i, j) position.
|
| |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
| | Copy the (i, j) entry into x, and return a reference to x.
|
| |
|
The column of rows iterator traverses the rows of the matrix in ascending order.
Dereferencing the iterator yields a row vector in dense format
|
|
The row of columns iterator traverses the columns of the matrix in ascending order.
Dereferencing the iterator yields a column vector in dense format
|
|
The raw iterator is a method for accessing all entries in the matrix in some unspecified order.
This can be used, e.g. to reduce all matrix entries modulo a prime before passing the matrix into an algorithm.
|
template<class Matrix>
class LinBox::TransposedBlasMatrix< Matrix >
TransposedBlasMatrix.
NO DOC
◆ field()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| const Field & field |
( |
| ) |
const |
|
inlineinherited |
Get the field of the matrix.
- Returns
- field of the matrix
◆ rowdim()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
Get the number of rows in the matrix.
- Returns
- Number of rows in matrix
◆ coldim()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
Get the number of columns in the matrix.
- Returns
- Number of columns in matrix
◆ write()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| std::ostream & write |
( |
std::ostream & | stream | ) |
const |
|
inlineinherited |
Write a matrix to an output stream.
- Parameters
-
| stream | Stream to which to write the matrix |
- Returns
- Reference to stream
◆ setEntry()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| void setEntry |
( |
size_t | i, |
|
|
size_t | j, |
|
|
const Element & | a_ij ) |
|
inlineinherited |
Set the entry at the (i, j) position to a_ij.
- Parameters
-
| i | Row number, 0...rowdim () - 1 |
| j | Column number 0...coldim () - 1 |
| a_ij | Element to set |
◆ refEntry()
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| Element & refEntry |
( |
size_t | i, |
|
|
size_t | j ) |
|
inlineinherited |
Get a writeable reference to the entry in the (i, j) position.
- Parameters
-
| i | Row index of entry |
| j | Column index of entry |
- Returns
- Reference to matrix entry
◆ getEntry() [1/2]
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| const Element & getEntry |
( |
size_t | i, |
|
|
size_t | j ) const |
|
inlineinherited |
Get a read-only reference to the entry in the (i, j) position.
- Parameters
-
- Returns
- Const reference to matrix entry
◆ getEntry() [2/2]
template<class Matrix, class Trait = typename MatrixTraits<Matrix>::MatrixCategory>
| Element & getEntry |
( |
Element & | x, |
|
|
size_t | i, |
|
|
size_t | j ) const |
|
inlineinherited |
Copy the (i, j) entry into x, and return a reference to x.
This form is more in the Linbox style and is provided for interface compatibility with other parts of the library
- Parameters
-
| x | Element in which to store result |
| i | Row index |
| j | Column index |
- Returns
- Reference to x
The documentation for this class was generated from the following files: