#include <Epetra_RowMatrix.h>
Inheritance diagram for Epetra_RowMatrix:
Public Member Functions | |
Destructor | |
| virtual | ~Epetra_RowMatrix () |
| Destructor. | |
Matrix data extraction routines | |
| virtual int | NumMyRowEntries (int MyRow, int &NumEntries) const =0 |
| Returns the number of nonzero entries in MyRow. | |
| virtual int | MaxNumEntries () const =0 |
| Returns the maximum of NumMyRowEntries() over all rows. | |
| virtual int | ExtractMyRowCopy (int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const =0 |
| Returns a copy of the specified local row in user-provided arrays. | |
| virtual int | ExtractDiagonalCopy (Epetra_Vector &Diagonal) const =0 |
| Returns a copy of the main diagonal in a user-provided vector. | |
Mathematical functions | |
| virtual int | Multiply (bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0 |
| Returns the result of a Epetra_RowMatrix multiplied by a Epetra_MultiVector X in Y. | |
| virtual int | Solve (bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0 |
| Returns result of a local-only solve using a triangular Epetra_RowMatrix with Epetra_MultiVectors X and Y. | |
| virtual int | InvRowSums (Epetra_Vector &x) const =0 |
| Computes the sum of absolute values of the rows of the Epetra_RowMatrix, results returned in x. | |
| virtual int | LeftScale (const Epetra_Vector &x)=0 |
| Scales the Epetra_RowMatrix on the left with a Epetra_Vector x. | |
| virtual int | InvColSums (Epetra_Vector &x) const =0 |
| Computes the sum of absolute values of the columns of the Epetra_RowMatrix, results returned in x. | |
| virtual int | RightScale (const Epetra_Vector &x)=0 |
| Scales the Epetra_RowMatrix on the right with a Epetra_Vector x. | |
Atribute access functions | |
| virtual bool | Filled () const =0 |
| If FillComplete() has been called, this query returns true, otherwise it returns false. | |
| virtual double | NormInf () const =0 |
| Returns the infinity norm of the global matrix. | |
| virtual double | NormOne () const =0 |
| Returns the one norm of the global matrix. | |
| virtual int | NumGlobalNonzeros () const =0 |
| Returns the number of nonzero entries in the global matrix. | |
| virtual int | NumGlobalRows () const =0 |
| Returns the number of global matrix rows. | |
| virtual int | NumGlobalCols () const =0 |
| Returns the number of global matrix columns. | |
| virtual int | NumGlobalDiagonals () const =0 |
| Returns the number of global nonzero diagonal entries, based on global row/column index comparisons. | |
| virtual int | NumMyNonzeros () const =0 |
| Returns the number of nonzero entries in the calling processor's portion of the matrix. | |
| virtual int | NumMyRows () const =0 |
| Returns the number of matrix rows owned by the calling processor. | |
| virtual int | NumMyCols () const =0 |
| Returns the number of matrix columns owned by the calling processor. | |
| virtual int | NumMyDiagonals () const =0 |
| Returns the number of local nonzero diagonal entries, based on global row/column index comparisons. | |
| virtual bool | LowerTriangular () const =0 |
| If matrix is lower triangular in local index space, this query returns true, otherwise it returns false. | |
| virtual bool | UpperTriangular () const =0 |
| If matrix is upper triangular in local index space, this query returns true, otherwise it returns false. | |
| virtual const Epetra_Map & | RowMatrixRowMap () const =0 |
| Returns the Epetra_Map object associated with the rows of this matrix. | |
| virtual const Epetra_Map & | RowMatrixColMap () const =0 |
| Returns the Epetra_Map object associated with the columns of this matrix. | |
| virtual const Epetra_Import * | RowMatrixImporter () const =0 |
| Returns the Epetra_Import object that contains the import operations for distributed operations. | |
The Epetra_RowMatrix class is a pure virtual class (specifies interface only) that enable the use of real-valued double-precision sparse matrices where matrix entries are intended for row access. It is currently implemented by both the Epetra_CrsMatrix and Epetra_VbrMatrix classes.
|
|
Returns a copy of the main diagonal in a user-provided vector.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
||||||||||||||||||||||||
|
Returns a copy of the specified local row in user-provided arrays.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_JadMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
|
Computes the sum of absolute values of the columns of the Epetra_RowMatrix, results returned in x. The vector x will return such that x[j] will contain the inverse of sum of the absolute values of the this matrix will be sca such that A(i,j) = x(j)*A(i,j) where i denotes the global row number of A and j denotes the global column number of A. Using the resulting vector from this function as input to RighttScale() will make the one norm of the resulting matrix exactly 1.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
|
Computes the sum of absolute values of the rows of the Epetra_RowMatrix, results returned in x. The vector x will return such that x[i] will contain the inverse of sum of the absolute values of the this matrix will be scaled such that A(i,j) = x(i)*A(i,j) where i denotes the global row number of A and j denotes the global column number of A. Using the resulting vector from this function as input to LeftScale() will make the infinity norm of the resulting matrix exactly 1.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
|
Scales the Epetra_RowMatrix on the left with a Epetra_Vector x. The this matrix will be scaled such that A(i,j) = x(i)*A(i,j) where i denotes the row number of A and j denotes the column number of A.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
||||||||||||||||
|
Returns the result of a Epetra_RowMatrix multiplied by a Epetra_MultiVector X in Y.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_JadMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
||||||||||||
|
Returns the number of nonzero entries in MyRow.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_JadMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
|
Scales the Epetra_RowMatrix on the right with a Epetra_Vector x. The this matrix will be scaled such that A(i,j) = x(j)*A(i,j) where i denotes the global row number of A and j denotes the global column number of A.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
|
||||||||||||||||||||||||
|
Returns result of a local-only solve using a triangular Epetra_RowMatrix with Epetra_MultiVectors X and Y. This method will perform a triangular solve independently on each processor of the parallel machine. No communication is performed.
Implemented in Epetra_BasicRowMatrix, Epetra_CrsMatrix, Epetra_JadMatrix, Epetra_VbrMatrix, and Epetra_MsrMatrix. |
1.3.9.1