| 13 | matrix<T> res(*this); rep(i,0,cnt) |
| 14 | res.data[i] += other.data[i]; return res; } |
| 15 | matrix<T> operator -(const matrix& other) { |
| 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; } |
nothing calls this directly
no outgoing calls
no test coverage detected