# | Line 49 | Line 49 | namespace oopse { | |
---|---|---|
49 | SquareMatrix3() : SquareMatrix<Real, 3>() { | |
50 | } | |
51 | ||
52 | + | /** Constructs and initializes every element of this matrix to a scalar */ |
53 | + | SquareMatrix3(Real s) : SquareMatrix<Real,3>(s){ |
54 | + | } |
55 | + | |
56 | + | /** Constructs and initializes from an array */ |
57 | + | SquareMatrix3(Real* array) : SquareMatrix<Real,3>(array){ |
58 | + | } |
59 | + | |
60 | + | |
61 | /** copy constructor */ | |
62 | SquareMatrix3(const SquareMatrix<Real, 3>& m) : SquareMatrix<Real, 3>(m) { | |
63 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |