-
Бобриков Пётр Алексеевич authored443c62fb
#include <iostream>
#include "matrix.cpp"
#include <iomanip>
#include <string>
#include <initializer_list>
using namespace std;
int main()
{
linalg::Matrix a = { { 1,2,3 }, {1,1,5}, { 2,-1,2} };
linalg::Matrix c = { 1,-1 ,6};
linalg::Matrix b(1,1);
cout << a;
a = 5 * a;
cout << a;
/*b = invert(a);
b = transpose(b);
cout << b;
b = transpose(a);
b = invert(b);
cout << b;
b = power(b, 0);
cout << b;*/
//c = power(a, -6);
//cout << c;
//b = power(a, -2);
//b = power(b, 3);
//cout << b;
return 0;
}