#include <iostream>
#include <vector>
#include "helpers.h"
Go to the source code of this file.
Output stream operator overloaded, the usage is simple, if you want to print to a file, make an ifstream object and type:
object << matrix << endl;
For output onto the screen type:
cout << matrix << endl;
- Parameters
-
| output | The stream to which you are writing (e.g. cout) |
| matrix_p | de SparseMatrix_CRS you want to print |
Print sparse matrix to output
- Parameters
-
| output | the ostream to print to |
| matrix_p | the matrix to print |
- Returns
- the filled ostream (with the matrix)
Print sparse matrix to output
- Parameters
-
| output | the ostream to print to |
| matrix_p | the matrix to print |
- Returns
- the filled ostream (with the matrix)
Definition at line 120 of file SparseMatrix_CRS.cpp.