#include "EpetraExt_VectorOut.h"#include "EpetraExt_MultiVectorOut.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_VectorOut.cpp:
Go to the source code of this file.
Namespaces | |
| namespace | EpetraExt |
Functions | |
| int | VectorToMatlabFile (const char *filename, const Epetra_Vector &A) |
| Writes an Epetra_Vector object to a file that is compatible with Matlab. | |
| int | VectorToMatrixMarketFile (const char *filename, const Epetra_Vector &A, const char *matrixName, const char *matrixDescription, bool writeHeader) |
| Writes an Epetra_Vector object to a Matrix Market format file. | |
| int | VectorToHandle (FILE *handle, const Epetra_Vector &A) |
| Writes an Epetra_Vector object to a format file that is compatible with Matlab. | |
| int | writeVector (FILE *handle, const Epetra_Vector &A) |
|
||||||||||||
|
Writes an Epetra_Vector object to a file that is compatible with Matlab. This function takes any matrix that implements the Epetra_Vector interface and writes it to the specified file. The matrix can be distributed or serial. This function is a convenience wrapper around VectorToMatrixMarketFile. The following Matlab commands can be used to read the resulting file and convert to it to a Matlab sparse matrix:
Definition at line 44 of file EpetraExt_VectorOut.cpp. |
|
||||||||||||||||||||||||
|
Writes an Epetra_Vector object to a Matrix Market format file. This function takes any matrix that implements the Epetra_Vector 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_VectorOut.cpp. |
|
||||||||||||
|
Writes an Epetra_Vector object to a format file that is compatible with Matlab. This function takes any matrix that implements the Epetra_Vector interface and writes it to the specified file handle. The matrix can be distributed or serial. This function is a convenience wrapper around VectorToMatrixMarketFile.
Definition at line 55 of file EpetraExt_VectorOut.cpp. |
|
||||||||||||
|
Definition at line 59 of file EpetraExt_VectorOut.cpp. |
1.3.9.1