This commit is contained in:
bart
2026-11-08 15:42:54 +01:00
parent dfd497d728
commit 5af4581182
80 changed files with 4494 additions and 437 deletions
+3
View File
@@ -7,6 +7,9 @@ class Matrix2D {
std::vector<T> data;
unsigned int sizeX, sizeY;
public:
unsigned int getWidth() const { return sizeX; }
unsigned int getHeight() const { return sizeY; }
Matrix2D (unsigned int x, unsigned int y)
: sizeX (x), sizeY (y) {
data.resize (sizeX*sizeY);