gem5 v24.0.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.  
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 55 of file linear_solver.hh.

inline 
Definition at line 58 of file linear_solver.hh.
References eq.

inline 

inline 
Definition at line 75 of file linear_solver.hh.
References gem5::ArmISA::c, cnt(), and eq.

inline 
Definition at line 63 of file linear_solver.hh.
References eq, and gem5::ArmISA::i.

inline 
Definition at line 83 of file linear_solver.hh.
References eq.

inline 
Definition at line 89 of file linear_solver.hh.
References eq, and gem5::ArmISA::i.

private 
Coefficients.
Definition at line 108 of file linear_solver.hh.
Referenced by cnt(), LinearEquation(), operator*=(), operator+(), operator[](), and toStr().