gem5  v21.1.0.2
Public Member Functions | Private Attributes | List of all members
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::f, 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 Sep 21 2021 12:27:45 for gem5 by doxygen 1.8.17