11 Matrix() {_h
= 0; _w
= 0; _m
= 0;}
12 Matrix(size_t h
, size_t w
);
13 Matrix(const Matrix
& M
);
16 size_t h() const {return _h
;}
17 size_t w() const {return _w
;}
18 double &m(size_t i
, size_t j
) {return _m
[_w
* i
+ j
];}
19 double const &m(size_t i
, size_t j
) const {return _m
[_w
* i
+ j
];}
21 bool isNull() const {return (_h
== 0 || _w
== 0);}
24 bool eliminate(double epsilon
= DBL_EPSILON
);
25 Matrix
augemented(const Matrix
&M
) const;
34 QDebug
operator<<(QDebug dbg
, const Matrix
&matrix
);