1
0
forked from leto/LeMA
LeMA/main.cpp

20 lines
265 B
C++

#include "matrices.h"
// using namespace std;
int main()
{
srand(time(0));
Matrix a(3,3);
a.Randomize();
Matrix b(3, 1);
b.Set(2.0F);
a.Print("A");
b.Print("B");
Matrix result = a * &b;
result.Print("A x B");
return 0;
}