| 402 | |
| 403 | template <class T> |
| 404 | static Matrix22<T> |
| 405 | add22T(Matrix22<T> &mat, T a) |
| 406 | { |
| 407 | MATH_EXC_ON; |
| 408 | Matrix22<T> m(mat.x); |
| 409 | for(int i = 0; i < 2; ++i) |
| 410 | for(int j = 0; j < 2; ++j) |
| 411 | m.x[i][j] += a; |
| 412 | |
| 413 | return m; |
| 414 | } |
| 415 | |
| 416 | template <class S, class T> |
| 417 | static Matrix22<T> |
nothing calls this directly
no outgoing calls
no test coverage detected