Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class matrix
- {
- double a[N][M];
- public:
- double * operator[](size_t r)
- {
- return a[r];
- }
- double const * operator[](size_t r) const
- {
- return a[r];
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement