gem5
|
This class describes a linear equation with constant coefficients. More...
#include <linear_solver.hh>
Public Member Functions | |
LinearEquation (unsigned unknowns) | |
LinearEquation | operator+ (const LinearEquation &rhs) |
LinearEquation & | operator*= (const double cnt) |
double & | operator[] (unsigned unkw) |
std::string | toStr () const |
unsigned | cnt () const |
Private Attributes | |
std::vector< double > | eq |
Coefficients. More... | |
This class describes a linear equation with constant coefficients.
The equation has a certain (variable) number of unkowns and it can hold N+1 coefficients.
Definition at line 54 of file linear_solver.hh.
|
inline |
Definition at line 56 of file linear_solver.hh.
References eq.
|
inline |
Definition at line 101 of file linear_solver.hh.
References eq.
Referenced by ThermalResistor::getEquation(), ThermalDomain::getEquation(), ThermalCapacitor::getEquation(), and operator*=().
|
inline |
Definition at line 73 of file linear_solver.hh.
|
inline |
Definition at line 61 of file linear_solver.hh.
|
inline |
Definition at line 81 of file linear_solver.hh.
References eq.
|
inline |
Definition at line 87 of file linear_solver.hh.
|
private |
Coefficients.
Definition at line 106 of file linear_solver.hh.
Referenced by cnt(), LinearEquation(), operator*=(), operator+(), operator[](), and toStr().