Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "VSheaderL1.h"
- #include <cstring>
- using namespace std;
- int main() {
- using namespace MyLinearAlgebra;
- //cout << "hello";
- TMatrix A(3, 3), B(3, 3), C;
- for (int i = 0; i < 3; i++)
- for (int j = 0; j < 3; j++) {
- A(i, j) = rand() % 10;
- B(i, j) = rand() % 10;
- }
- for (int i = 0; i < 3; i++)
- for (int j = 0; j < 3; j++) {
- cout << 'matrix A';
- cout << A(i, j) << ' ';
- B(i, j) = rand() % 10;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement