gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::LinearSystem Class Reference

#include <linear_solver.hh>

Public Member Functions

 LinearSystem (unsigned unknowns)
 
LinearEquationoperator[] (unsigned eq)
 
std::string toStr () const
 
std::vector< double > solve () const
 

Private Attributes

std::vector< LinearEquationmatrix
 

Detailed Description

Definition at line 111 of file linear_solver.hh.

Constructor & Destructor Documentation

◆ LinearSystem()

gem5::LinearSystem::LinearSystem ( unsigned unknowns)
inline

Definition at line 114 of file linear_solver.hh.

References gem5::ArmISA::i, and matrix.

Member Function Documentation

◆ operator[]()

LinearEquation & gem5::LinearSystem::operator[] ( unsigned eq)
inline

Definition at line 119 of file linear_solver.hh.

References gem5::PowerISA::eq, and matrix.

◆ solve()

std::vector< double > gem5::LinearSystem::solve ( ) const

Definition at line 44 of file linear_solver.cc.

References gem5::ArmISA::i, matrix, and gem5::ArmISA::t.

Referenced by gem5::ThermalModel::doStep().

◆ toStr()

std::string gem5::LinearSystem::toStr ( ) const
inline

Definition at line 124 of file linear_solver.hh.

References gem5::PowerISA::eq, matrix, and gem5::MipsISA::r.

Member Data Documentation

◆ matrix

std::vector< LinearEquation > gem5::LinearSystem::matrix
private

Definition at line 134 of file linear_solver.hh.

Referenced by LinearSystem(), operator[](), solve(), and toStr().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:12 for gem5 by doxygen 1.11.0