gem5
v20.1.0.0
|
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 52 of file linear_solver.hh.
|
inline |
Definition at line 54 of file linear_solver.hh.
References eq.
|
inline |
|
inline |
Definition at line 71 of file linear_solver.hh.
|
inline |
Definition at line 59 of file linear_solver.hh.
|
inline |
Definition at line 79 of file linear_solver.hh.
References eq.
|
inline |
Definition at line 85 of file linear_solver.hh.
|
private |
Coefficients.
Definition at line 104 of file linear_solver.hh.
Referenced by cnt(), LinearEquation(), operator*=(), operator+(), operator[](), and toStr().