#include "EpetraExt_RowMatrixOut.h"#include "EpetraExt_mmio.h"#include "Epetra_Comm.h"#include "Epetra_Map.h"#include "Epetra_Vector.h"#include "Epetra_IntVector.h"#include "Epetra_SerialDenseVector.h"#include "Epetra_IntSerialDenseVector.h"#include "Epetra_Import.h"#include "Epetra_CrsMatrix.h"Include dependency graph for EpetraExt_RowMatrixOut.cpp:
Go to the source code of this file.
Namespaces | |
| namespace | EpetraExt |
Functions | |
| int | RowMatrixToMatlabFile (const char *filename, const Epetra_RowMatrix &A) |
| Writes an Epetra_RowMatrix object to a file that is compatible with Matlab. | |
| int | RowMatrixToMatrixMarketFile (const char *filename, const Epetra_RowMatrix &A, const char *matrixName, const char *matrixDescription, bool writeHeader) |
| Writes an Epetra_RowMatrix object to a Matrix Market format file. | |
| int | RowMatrixToHandle (FILE *handle, const Epetra_RowMatrix &A) |
| Writes an Epetra_RowMatrix object to a format file that is compatible with Matlab. | |
| int | writeRowMatrix (FILE *handle, const Epetra_RowMatrix &A) |
|
||||||||||||
|
Writes an Epetra_RowMatrix object to a file that is compatible with Matlab. This function takes any matrix that implements the Epetra_RowMatrix interface and writes it to the specified file. The matrix can be distributed or serial. This function is a convenience wrapper around RowMatrixToMatrixMarketFile. The following Matlab commands can be used to read the resulting file and convert to it to a Matlab sparse matrix:
Definition at line 42 of file EpetraExt_RowMatrixOut.cpp. |
|
||||||||||||||||||||||||
|
Writes an Epetra_RowMatrix object to a Matrix Market format file. This function takes any matrix that implements the Epetra_RowMatrix interface and writes it to the specified file. The matrix can be distributed or serial. The user can provide a strings containing the matrix name, a matrix description, and specify that header information should or should not be printed to the file.
Definition at line 48 of file EpetraExt_RowMatrixOut.cpp. |
|
||||||||||||
|
Writes an Epetra_RowMatrix object to a format file that is compatible with Matlab. This function takes any matrix that implements the Epetra_RowMatrix interface and writes it to the specified file handle. The matrix can be distributed or serial. This function is a convenience wrapper around RowMatrixToMatrixMarketFile.
Definition at line 86 of file EpetraExt_RowMatrixOut.cpp. |
|
||||||||||||
|
Definition at line 141 of file EpetraExt_RowMatrixOut.cpp. |
1.3.9.1