|
| Matrix_Arrow () |
| default constructor
|
|
int | GetM () const |
| returns the number of rows
|
|
int | GetN () const |
| returns the number of columns
|
|
int | GetNbLastRow () const |
| returns the number of dense rows placed at the end of the matrix
|
|
int | GetNbLastCol () const |
| returns the number of dense columns placed at the end of the matrix
|
|
long | GetDataSize () const |
| returns the number of non-zero entries
|
|
size_t | GetMemorySize () const |
| returns the memory used by the object in bytes
|
|
void | Clear () |
| clears the matrix
|
|
void | Zero () |
| sets all non-zero entries to 0
|
|
void | HideMessages () |
| present for compatibility
|
|
void | Reallocate (int m, int n) |
| changes the size of the matrix
|
|
void | Reallocate (int m, int n, int kl, int ku, int nb_last_row=0, int nb_last_col=0) |
| changes the size of the matrix
|
|
void | AddInteraction (int i, int j, const T &val) |
| performs the operation A(i, j) = A(i, j) + val
|
|
void | AddInteractionRow (int i, int n, const IVect &num, const Vector< T > &val, bool sorted=false) |
| adds severals values on a single row of the matrix
More...
|
|
void | ClearRow (int i) |
| clears row i, fills it with 0 More...
|
|
const T | operator() (int i, int j) const |
| returns entry (i, j) of the matrix
|
|
Matrix< T, Prop, Storage, Allocator > & | operator*= (const T &alpha) |
| multiplication by a scalar
|
|
T & | Get (int i, int j) |
| returns a reference to A(i, j)
|
|
const T & | Get (int i, int j) const |
| returns a reference to A(i, j)
|
|
T & | Val (int i, int j) |
| returns a reference to A(i, j)
|
|
const T & | Val (int i, int j) const |
| returns a reference to A(i, j)
|
|
void | Set (int, int, const T &) |
| sets A(i, j)
|
|
void | SetEntry (int, int, const T &) |
| sets A(i, j)
|
|
void | SetIdentity () |
| sets the matrix to the identity matrix
|
|
template<class T0 > |
void | Fill (const T0 &x) |
| sets all non-zero entries to a same value
|
|
void | FillRand () |
| sets all non-zero entries to random values
|
|
void | Factorize () |
| performs LU factorisation without pivoting
|
|
template<class T0 > |
void | Add_ (const T0 &alpha, const Matrix< T, General, ArrowCol, Allocator > &A) |
| performs the operation *this = *this + alpha A
|
|
template<class T0 , class T1 > |
void | MltAdd (const T0 &alpha, const SeldonTranspose &trans, const Vector< T1 > &x, Vector< T1 > &y) const |
| performs matrix-vector product y = y + alpha A x
|
|
template<class T1 > |
void | Solve (Vector< T1 > &x) const |
| solves A x = b, assuming that Factorize has been previously called
|
|
void | Write (string FileName) const |
| writes the matrix in a file in binary format
|
|
void | Write (ostream &FileStream) const |
| writes the matrix in binary format
|
|
void | WriteText (string FileName) const |
| writes the matrix in a file in text format
|
|
void | WriteText (ostream &FileStream) const |
| writes the matrix in text format
|
|
int | GetKL () const |
| returns the number of extra-diagonals in lower part of the matrix
|
|
int | GetKU () const |
| returns the number of extra-diagonals in upper part of the matrix
|
|
int | GetM () const |
| returns the number of rows
|
|
int | GetM (const Seldon::SeldonTranspose &status) const |
| Returns the number of rows of the matrix possibly transposed. More...
|
|
int | GetM (const CBLAS_TRANSPOSE &status) const |
| Returns the number of rows of the matrix possibly transposed. More...
|
|
int | GetN () const |
| returns the number of rows
|
|
int | GetN (const Seldon::SeldonTranspose &status) const |
| Returns the number of columns of the matrix possibly transposed. More...
|
|
int | GetN (const CBLAS_TRANSPOSE &status) const |
| Returns the number of columns of the matrix possibly transposed. More...
|
|
long | GetDataSize () const |
| returns the number of elements stored in the matrix
|
|
size_t | GetMemorySize () const |
| returns the memory used by the object in bytes
|
|
void | Reallocate (int m, int n, int kl, int ku) |
| changes the size of the matrix, previous entries are lost
|
|
T * | GetData () const |
| returns a pointer to the array containing values
|
|
void | Copy (const Matrix< T, General, ArrayRowSparse > &A) |
| conversion from a CSR matrix
|
|
void | Factorize (IVect &) |
| performs LU factorisation with pivoting
|
|
void | Add_ (const T0 &alpha, const Matrix< T, General, BandedCol, typename SeldonDefaultAllocator< Storage, T >::allocator > &A) |
| performs the operation *this = *this + alpha A
|
|
void | Solve (const IVect &, Vector< T1 > &x) const |
|
void | Solve (const Vector< int > &ipivot, Vector< T1 > &x) const |
| solves A x = b, assuming that Factorize has been previously called (with pivoting)
|
|
long | GetSize () const |
| Returns the number of elements in the matrix. More...
|
|
template<class T, class Prop, class Storage, class Allocator = typename SeldonDefaultAllocator<Storage, T>::allocator>
class Seldon::Matrix_Arrow< T, Prop, Storage, Allocator >
base class for arrow matrix (banded matrix + dense columns/rows)
Definition at line 170 of file BandMatrix.hxx.