gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef LINEAR_SYSTEM_FULL_H
7 #define LINEAR_SYSTEM_FULL_H
44 if(val != 0.0) (*_a)(row, col) += val;
48 val = (*_a)(row, col);
52 if(val != 0.0) (*_b)(row) += val;
56 if(val != 0.0) (*_x)(row) += val;
70 for(
int i = 0; i <
_b->size(); i++) {
72 if(temp < 0) temp = -temp;
73 if(nor < temp) nor = temp;
79 if(
_b->size())
_a->luSolve(*
_b, *
_x);
virtual void zeroRightHandSide()
virtual void zeroSolution()
virtual void zeroMatrix()
fullMatrix< scalar > * _a
virtual void getFromMatrix(int row, int col, scalar &val) const
virtual void addToRightHandSide(int row, const scalar &val, int ith=0)
virtual void allocate(int nbRows)
virtual bool isAllocated() const
virtual void addToSolution(int row, const scalar &val)
virtual int systemSolve()
virtual void addToMatrix(int row, int col, const scalar &val)
virtual ~linearSystemFull()
virtual double normInfRightHandSide() const
fullVector< scalar > * _x
virtual void getFromSolution(int row, scalar &val) const
fullVector< scalar > * _b
virtual void getFromRightHandSide(int row, scalar &val) const