#include"matrix.h" Matrix::Matrix() { m_sz_x = 3; m_sz_y = 3; m_values = new double*[m_sz_x]; for (unsigned int i =0;iGetSizeY() == 1 && other.GetSizeY() == 1){ double el =0; for (unsigned int i = 0; i < this->GetSizeX(); ++i) el += this->GetVal(i,0)*other.GetVal(i,0); return el; } else{ std::cout << "Vectorproduct is not possible!" << std::endl; return 0.0; } } void Matrix::Resize(const unsigned int size_ ) { for (unsigned int i =0;i