gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 109 of file linear_solver.hh.

Constructor & Destructor Documentation

LinearSystem::LinearSystem ( unsigned  unknowns)
inline

Definition at line 111 of file linear_solver.hh.

References ArmISA::i, and matrix.

Member Function Documentation

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

Definition at line 116 of file linear_solver.hh.

References PowerISA::eq, and matrix.

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

Definition at line 43 of file linear_solver.cc.

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

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

Definition at line 121 of file linear_solver.hh.

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

Member Data Documentation

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

Definition at line 131 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 Fri Jun 9 2017 13:04:13 for gem5 by doxygen 1.8.6