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