34namespace csparse_extension {
36bool writeCs2Octave(
const char* filename,
const cs* A,
bool upperTriangular) {
43 const double* Ax = A->x;
44 return writeCCSMatrix(filename, rows, cols, Ap, Ai, Ax, upperTriangular);
48 const double* Ax = A->x;
bool writeCs2Octave(const char *filename, const cs *A, bool upperTriangular)
bool writeCCSMatrix(const string &filename, int rows, int cols, const int *Ap, const int *Ai, const double *Ax, bool upperTriangleSymmetric)
bool writeTripletMatrix(const std::string &filename, int nz, int rows, int cols, const int *Ai, const int *Aj, const double *Ax, bool upperTriangleSymmetric)