first commit

This commit is contained in:
2026-03-05 13:16:26 +01:00
commit 1b2bf174e8
164 changed files with 35594 additions and 0 deletions

16
Lab1/matrix.cpp Normal file
View File

@@ -0,0 +1,16 @@
//matrix.cpp
#include "matrix.h"
int main() {
Array a (2);
Matrix b (2,2);
cout << "input Array: " << endl;
cin>>a;
cout << "input Matrix: " << endl;
cin >>b;
//b[2] = a;
b[1] = a + b[1];
Matrix c(b);
b[1][1] = a[1];
cout << "c:\n" <<c << "a:\n"<< a << "\nb:\n" << b;
return 0;
}