| 16 | matrix<T> res(*this); rep(i,0,cnt) |
| 17 | res.data[i] -= other.data[i]; return res; } |
| 18 | matrix<T> operator *(T other) { |
| 19 | matrix<T> res(*this); |
| 20 | rep(i,0,cnt) res.data[i] *= other; return res; } |
| 21 | matrix<T> operator *(const matrix& other) { |
| 22 | matrix<T> res(rows, other.cols); |
| 23 | rep(i,0,rows) rep(k,0,cols) rep(j,0,other.cols) |
nothing calls this directly
no outgoing calls
no test coverage detected