gem5  v22.0.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)

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)

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

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

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

◆ toStr()

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

Definition at line 124 of file linear_solver.hh.

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

Member Data Documentation

◆ matrix

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

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 Thu Jul 28 2022 13:33:06 for gem5 by doxygen 1.8.17