Go to the source code of this file.
ostream& operator<< |
( |
ostream & |
out, |
|
|
const Matrix & |
M |
|
) |
| |
Writes the components of the matrix M on screen.
- Parameters
-
- Returns
- ostream&
1058 for (n = 1; n <= M.
lines(); n++)
1060 for (m = 1; m <= M.
columns(); m++)
1062 out<<n<<
","<<m<<
": "<<M.
value(n,m)<<endl;
real value(const int i, const int j) const
Returns the value of the component i, j.
Definition: Matrix.h:515
int lines() const
Returns the number of lines of the matrix.
Definition: Matrix.h:486
int columns() const
Returns the number of columns of the matrix.
Definition: Matrix.h:495