gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
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 107 of file linear_solver.hh.

Constructor & Destructor Documentation

◆ LinearSystem()

LinearSystem::LinearSystem ( unsigned  unknowns)
inline

Definition at line 109 of file linear_solver.hh.

References ArmISA::i, and matrix.

Member Function Documentation

◆ operator[]()

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

Definition at line 114 of file linear_solver.hh.

References PowerISA::eq, and matrix.

◆ solve()

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

Definition at line 41 of file linear_solver.cc.

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

Referenced by ThermalModel::doStep().

◆ toStr()

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

Definition at line 119 of file linear_solver.hh.

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

Member Data Documentation

◆ matrix

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

Definition at line 129 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 Wed Sep 30 2020 14:02:26 for gem5 by doxygen 1.8.17