44 #include "Epetra_Comm.h"
45 #include "Epetra_Map.h"
46 #include "Epetra_Vector.h"
47 #include "Epetra_IntVector.h"
48 #include "Epetra_SerialDenseVector.h"
49 #include "Epetra_IntSerialDenseVector.h"
50 #include "Epetra_Import.h"
51 #include "Epetra_CrsMatrix.h"
53 using namespace EpetraExt;
62 const char * matrixName,
63 const char *matrixDescription,
int MultiVectorToMatlabFile(const char *filename, const Epetra_MultiVector &A)
Writes an Epetra_MultiVector object to a file that is compatible with Matlab.
int VectorToMatlabFile(const char *filename, const Epetra_Vector &A)
Writes an Epetra_Vector object to a file that is compatible with Matlab.
int MultiVectorToMatrixMarketFile(const char *filename, const Epetra_MultiVector &A, const char *matrixName, const char *matrixDescription, bool writeHeader)
Writes an Epetra_MultiVector object to a Matrix Market format file.
int VectorToHandle(FILE *handle, const Epetra_Vector &A)
int writeMultiVector(FILE *handle, const Epetra_MultiVector &A, bool mmFormat)
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 writeVector(FILE *handle, const Epetra_Vector &A)
int MultiVectorToHandle(FILE *handle, const Epetra_MultiVector &A, bool mmFormat)