--- trunk/src/math/SquareMatrix3.hpp 2004/10/20 18:07:08 123 +++ trunk/src/math/SquareMatrix3.hpp 2004/10/25 22:46:19 151 @@ -41,11 +41,23 @@ namespace oopse { template class SquareMatrix3 : public SquareMatrix { public: + + typedef Real ElemType; + typedef Real* ElemPoinerType; /** default constructor */ SquareMatrix3() : SquareMatrix() { + } + + /** Constructs and initializes every element of this matrix to a scalar */ + SquareMatrix3(Real s) : SquareMatrix(s){ } + /** Constructs and initializes from an array */ + SquareMatrix3(Real* array) : SquareMatrix(array){ + } + + /** copy constructor */ SquareMatrix3(const SquareMatrix& m) : SquareMatrix(m) { }