Matrix default constructor

This commit is contained in:
LeLeLeLeto 2024-12-31 01:35:05 +01:00
parent 25fe960caf
commit 87d39a705d

View File

@ -34,6 +34,7 @@ class Matrix{
inline Matrix Transpose(); inline Matrix Transpose();
// Operators // Operators
inline Matrix();
inline Matrix operator=(const Matrix*); inline Matrix operator=(const Matrix*);
inline Matrix operator+(const Matrix*); inline Matrix operator+(const Matrix*);
inline Matrix operator-(const Matrix*); inline Matrix operator-(const Matrix*);
@ -48,6 +49,10 @@ class Matrix{
inline Matrix(const Matrix*); inline Matrix(const Matrix*);
}; };
Matrix::Matrix(){
}
Matrix Matrix::operator=(const Matrix* other){ Matrix Matrix::operator=(const Matrix* other){
return this->Swap(other); return this->Swap(other);
} }