forked from leto/LeMA
21 lines
266 B
C++
21 lines
266 B
C++
#include<iostream>
|
|
#include "matrices.h"
|
|
// using namespace std;
|
|
|
|
int main()
|
|
{
|
|
srand(time(0));
|
|
|
|
Matrix a(2,1);
|
|
Matrix b(1,2);
|
|
|
|
a.Randomize();
|
|
b.Randomize();
|
|
|
|
a.Print("A");
|
|
b.Print("B");
|
|
|
|
a.Multiply(&b).Print("A x B");
|
|
|
|
return 0;
|
|
} |