1
0
forked from leto/LeMA

Transpose now returns Matrix object

This commit is contained in:
2024-12-24 14:08:43 +01:00
parent 78a8185e19
commit e0d6d480da
2 changed files with 11 additions and 16 deletions

View File

@@ -5,15 +5,11 @@ int main()
{
srand(time(0));
Matrix a(3,1);
Matrix a(3,2);
a.Randomize();
Matrix b = a;
a.Print("A");
b.Print("B");
a.Add(&b).Print("A + B");
a.Transpose().Print("Transposed");
return 0;
}