|
linbox
|
Triangular BLAS matrix. More...
#include <blas-matrix.h>
Inheritance diagram for TriangularBlasMatrix< Matrix >:Public Member Functions | |
| TriangularBlasMatrix (Matrix &A, Tag::Shape x=Tag::Shape::Upper, Tag::Diag y=Tag::Diag::NonUnit) | |
Constructor from a Matrix (share data from the matrix) | |
| Tag::Shape | getUpLo () const |
| get the shape of the matrix (upper or lower) | |
| Tag::Diag | getDiag () const |
| Is the diagonal implicitly unit ? | |
| Self_t & | copy (const _AnyMatrix &A) |
| (copying data) -> works only if dimensions are the same | |
| BlasSubmatrix< Matrix > & | copy (const _AnyMatrix &M) |
| Self_t & | copy (const _AnyMatrix &A) |
| (copying data) -> works only if dimensions are the same | |
| BlasSubmatrix< Matrix > & | copy (const _AnyMatrix &M) |
| Self_t & | swap (_AnyMatrix &A) |
| (swaping local data to same dimension (sub)part of A) -> works only if both dimensions of A are larger | |
| BlasSubmatrix< Matrix > & | swap (_AnyMatrix &M) |
| Self_t & | swap (_AnyMatrix &A) |
| (swaping local data to same dimension (sub)part of A) -> works only if both dimensions of A are larger | |
| BlasSubmatrix< Matrix > & | swap (_AnyMatrix &M) |
| size_t | rowdim () const |
| Get the number of rows in 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. | |
| size_t | coldim () const |
| Get the number of columns in the matrix. | |
| size_t | getStride () const |
| Get the stride of the matrix. | |
| size_t | getStride () const |
| Get the stride of the matrix. | |
| const Field & | field () const |
| Get the field of the BlasSubMatrix. | |
| const Field & | field () const |
| Get the field of the BlasSubMatrix. | |
| pointer | getPointer () |
| | |
| const_pointer | getPointer () const |
| pointer | getPointer () |
| | |
| const_pointer | getPointer () const |
| const_pointer | getConstPointer () const |
| const_pointer | getConstPointer () const |
| std::istream & | read (std::istream &file) |
| Read the matrix from an input stream. | |
| std::istream & | read (std::istream &file) |
| Read the matrix from an input stream. | |
| std::ostream & | write (std::ostream &os, Tag::FileFormat f=Tag::FileFormat::Plain) const |
| Write the matrix to an output stream. | |
| std::ostream & | write (std::ostream &os, Tag::FileFormat f=Tag::FileFormat::Plain) const |
| Write the matrix to an output stream. | |
| void | setEntry (size_t i, size_t j, const Element &a_ij) |
| Set the entry at (i, j). | |
| void | setEntry (size_t i, size_t j, const Element &a_ij) |
| Set the entry at (i, j). | |
| Element & | refEntry (size_t i, size_t j) |
| Get a writeable reference to an entry in the matrix. | |
| Element & | refEntry (size_t i, size_t j) |
| Get a writeable reference to an entry in the matrix. | |
| const Element & | getEntry (size_t i, size_t j) const |
| Get a read-only individual entry from the matrix. | |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
| Get an entry and store it in the given value. | |
| const Element & | getEntry (size_t i, size_t j) const |
| Get a read-only individual entry from the matrix. | |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
| Get an entry and store it in the given value. | |
| Vector1 & | apply (Vector1 &y, const Vector2 &x) const |
| std::vector< Element > & | apply (std::vector< Element > &y, const std::vector< Element > &x) const |
| Vector1 & | apply (Vector1 &y, const Vector2 &x) const |
| std::vector< Element > & | apply (std::vector< Element > &y, const std::vector< Element > &x) const |
| Vector1 & | applyTranspose (Vector1 &y, const Vector2 &x) const |
| std::vector< Element > & | applyTranspose (std::vector< Element > &y, const std::vector< Element > &x) const |
| Vector1 & | applyTranspose (Vector1 &y, const Vector2 &x) const |
| std::vector< Element > & | applyTranspose (std::vector< Element > &y, const std::vector< Element > &x) const |
| void | zero () |
| void | zero () |
| void | random () |
| void | random (RandIter &G) |
| void | random () |
| void | random (RandIter &G) |
Protected Attributes | |
| Tag::Shape | _uplo |
| upper or lower triangular | |
| Tag::Diag | _diag |
| unit or non unit diagonal | |
| pointer | _ptr |
| pointer to the first elt of the submatrix | |
| pointer | _ptr |
| pointer to the first elt of the submatrix | |
| size_t | _row |
| row dimension of Submatrix | |
| size_t | _row |
| row dimension of Submatrix | |
| size_t | _col |
| col dimension of Submatrix | |
| size_t | _col |
| col dimension of Submatrix | |
| size_t | _stride |
| stride of the original matrix | |
| size_t | _stride |
| stride of the original matrix | |
| const Field & | _field |
| const Field & | _field |
typedef'd Row Iterators. | |
The row iterator gives the rows of the matrix in ascending order. Dereferencing the iterator yields a row vector in dense format | |
| using | RowIterator |
| using | RowIterator |
| using | ConstRowIterator |
| using | ConstRowIterator |
| RowIterator | rowBegin () |
| ConstRowIterator | rowBegin () const |
| RowIterator | rowBegin () |
| ConstRowIterator | rowBegin () const |
| RowIterator | rowEnd () |
| ConstRowIterator | rowEnd () const |
| RowIterator | rowEnd () |
| ConstRowIterator | rowEnd () const |
typedef'd Column Iterators. | |
The columns iterator gives the columns of the matrix in ascending order. Dereferencing the iterator yields a column vector in dense format | |
| using | ColIterator |
| operator[]. | |
| using | ColIterator |
| operator[]. | |
| using | ConstColIterator |
| operator[]. | |
| using | ConstColIterator |
| operator[]. | |
| using | IndexedIterator |
| operator[]. | |
| using | IndexedIterator |
| operator[]. | |
| using | ConstIndexedIterator |
| operator[]. | |
| using | ConstIndexedIterator |
| operator[]. | |
| ColIterator | colBegin () |
| operator[]. | |
| ConstColIterator | colBegin () const |
| operator[]. | |
| ColIterator | colBegin () |
| operator[]. | |
| ConstColIterator | colBegin () const |
| operator[]. | |
| ColIterator | colEnd () |
| operator[]. | |
| ConstColIterator | colEnd () const |
| operator[]. | |
| ColIterator | colEnd () |
| operator[]. | |
| ConstColIterator | colEnd () const |
| operator[]. | |
| Iterator | Begin () |
| operator[]. | |
| ConstIterator | Begin () const |
| operator[]. | |
| Iterator | Begin () |
| operator[]. | |
| ConstIterator | Begin () const |
| operator[]. | |
| Iterator | End () |
| operator[]. | |
| ConstIterator | End () const |
| operator[]. | |
| Iterator | End () |
| operator[]. | |
| ConstIterator | End () const |
| operator[]. | |
| IndexedIterator | IndexedBegin () |
| operator[]. | |
| ConstIndexedIterator | IndexedBegin () const |
| operator[]. | |
| IndexedIterator | IndexedBegin () |
| operator[]. | |
| ConstIndexedIterator | IndexedBegin () const |
| operator[]. | |
| IndexedIterator | IndexedEnd () |
| operator[]. | |
| ConstIndexedIterator | IndexedEnd () const |
| operator[]. | |
| IndexedIterator | IndexedEnd () |
| operator[]. | |
| ConstIndexedIterator | IndexedEnd () const |
| operator[]. | |
| subVectorType | operator[] (size_t i) |
| operator[]. | |
| constSubVectorType | operator[] (size_t i) const |
| operator[]. | |
| subVectorType | operator[] (size_t i) |
| operator[]. | |
| constSubVectorType | operator[] (size_t i) const |
| operator[]. | |
Triangular BLAS matrix.
| typedef Matrix::Field Field |
| typedef TriangularBlasMatrix<Matrix> Self_t |
| typedef Self_t matrixType |
| typedef BlasSubmatrix< Matrix> subMatrixType |
| typedef BlasSubmatrix<const Matrix> constSubMatrixType |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
pointer type to elements
|
inherited |
pointer type to elements
|
inherited |
const pointer type to elements
|
inherited |
const pointer type to elements
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Constructor from a Matrix (share data from the matrix)
| A | matrix |
| y | (non)unit diagonal |
| x | (upp/low)er matrix |
|
inline |
get the shape of the matrix (upper or lower)
|
inherited |
(copying data) -> works only if dimensions are the same
|
inherited |
|
inherited |
(copying data) -> works only if dimensions are the same
|
inherited |
|
inherited |
(swaping local data to same dimension (sub)part of A) -> works only if both dimensions of A are larger
|
inherited |
|
inherited |
(swaping local data to same dimension (sub)part of A) -> works only if both dimensions of A are larger
|
inherited |
|
inlineinherited |
Get the number of rows in the matrix.
|
inlineinherited |
Get the number of rows in the matrix.
|
inlineinherited |
Get the number of columns in the matrix.
|
inlineinherited |
Get the number of columns in the matrix.
|
inlineinherited |
Get the stride of the matrix.
|
inlineinherited |
Get the stride of the matrix.
|
inlineinherited |
Get the field of the BlasSubMatrix.
|
inlineinherited |
Get the field of the BlasSubMatrix.
|
inlineinherited |
Get pointer to the matrix data (read/write access will depend on the type of the template parameter _Matrix, i.e. const or not)
|
inlineinherited |
|
inlineinherited |
Get pointer to the matrix data (read/write access will depend on the type of the template parameter _Matrix, i.e. const or not)
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Read the matrix from an input stream.
| file | Input stream from which to read |
|
inherited |
Read the matrix from an input stream.
| file | Input stream from which to read |
|
inherited |
Write the matrix to an output stream.
| os | Output stream to which to write |
| f | write in some format (Tag::FileFormat::Format). Default is MM's. |
|
inherited |
Write the matrix to an output stream.
| os | Output stream to which to write |
| f | write in some format (Tag::FileFormat::Format). Default is MM's. |
|
inherited |
|
inherited |
|
inherited |
Get a writeable reference to an entry in the matrix.
| i | Row index of entry |
| j | Column index of entry |
|
inherited |
Get a writeable reference to an entry in the matrix.
| i | Row index of entry |
| j | Column index of entry |
|
inherited |
Get a read-only individual entry from the matrix.
| i | Row index |
| j | Column index |
|
inherited |
Get a read-only individual entry from the matrix.
| i | Row index |
| j | Column index |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protected |
upper or lower triangular
|
protectedinherited |
pointer to the first elt of the submatrix
|
protectedinherited |
pointer to the first elt of the submatrix
|
protectedinherited |
row dimension of Submatrix
|
protectedinherited |
row dimension of Submatrix
|
protectedinherited |
col dimension of Submatrix
|
protectedinherited |
col dimension of Submatrix
|
protectedinherited |
stride of the original matrix
|
protectedinherited |
stride of the original matrix
|
protectedinherited |
|
protectedinherited |