Page MenuHomec4science

LinSys.cpp
No OneTemporary

File Metadata

Created
Sat, Oct 19, 16:59

LinSys.cpp

#include <cmath>
#include <iostream>
#include <cassert>
#include <string>
#include "LinSys.hpp"
/**************************************
***************************************
***************************************
************* LINSYS CLASS ************
***************************************
***************************************
**************************************/
// Overridden copy constructor
// Allocates memory for new matrix, and copies
// entries of other matrix into it
Lin_Sys::Lin_Sys(const Lin_Sys &otherLin_Sys) {
/* Copying of Linear system*/
mSize=otherLin_Sys.mSize;
mpA=otherLin_Sys.mpA;
mpb=otherLin_Sys.mpb;
}
Lin_Sys::Lin_Sys(Matrix A ,Vector b) {
mpA=A;
mpb=b;
mSize=A.NumberOfRows();
}
Lin_Sys::Lin_Sys(int size) {
mSize=size;
mpb=Vector(size);
mpA=Matrix(size);
}
Vector Lin_Sys::Solve (std::string method) {
}

Event Timeline