Salam.
man in header file ro daram va taskam inke bodysh ro baraye multiplication va invers be ravesh ghost benevisam mamnun misham agar kasy betune rahnamaeem kone#pragma once
typedef std::vector<double> MyVector;
class Matrix
{
public:
Matrix(int r, int c);
Matrix(const Matrix& mtx);
Matrix& operator=(const Matrix& mtx);
~Matrix(void);
MyVector& operator[](const int& index);
MyVector& operator[](const int& index) const;
MyVector operator*(const MyVector& vctr);
Matrix operator*(Matrix& mtx);
Matrix operator+(Matrix& mtx);
Matrix operator-(Matrix& mtx);
friend ostream& operator<<(ostream & out, const Matrix& obj);
private:
Matrix();
MyVector * m_data;
public:
int row, column;
};