matrix.h File Reference

#include <iostream>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  csci146

Classes

class  matrix
 Representation of a two-dimensional matrix. More...

Functions

matrix operator+ (double scalar, const matrix &m)
 Generates a matrix by adding a scalar constant to each element of another matrix.
matrix operator* (double scalar, const matrix &m)
 Generates a matrix by multiplying each element of another matrix by a scalar constant.
std::ostream & operator<< (std::ostream &out, const matrix &m)
 Outputs the contents of a matrix in tabular form.
std::istream & operator>> (std::istream &in, matrix &m)
 Reconfigures the matrix to match data read from a stream.


Generated on Thu Jan 27 12:58:28 2011 by  doxygen 1.5.6