--- trunk/src/math/SquareMatrix.hpp 2004/10/22 23:09:57 146 +++ trunk/src/math/SquareMatrix.hpp 2004/10/25 22:46:19 151 @@ -55,6 +55,15 @@ namespace oopse { data_[i][j] = 0.0; } + /** Constructs and initializes every element of this matrix to a scalar */ + SquareMatrix(Real s) : RectMatrix(s){ + } + + /** Constructs and initializes from an array */ + SquareMatrix(Real* array) : RectMatrix(array){ + } + + /** copy constructor */ SquareMatrix(const RectMatrix& m) : RectMatrix(m) { }