#include <linear_algebraic_equations.h>
Public Member Functions | |
LinearAlgebraicEquations (void) | |
~LinearAlgebraicEquations (void) | |
LinearAlgebraicEquations & | operator= (const LinearAlgebraicEquations &) |
bool | operator== (const LinearAlgebraicEquations &) const |
void | perform_Gauss_Jordan_elimination (Matrix< double > &, Matrix< double > &) const |
void | perform_Gauss_Jordan_elimination (Matrix< double > &, Vector< double > &) const |
Vector< double > | calculate_Gauss_Jordan_solution (Matrix< double >, Vector< double >) const |
Definition at line 26 of file linear_algebraic_equations.h.
OpenNN::LinearAlgebraicEquations::LinearAlgebraicEquations | ( | void | ) |
OpenNN::LinearAlgebraicEquations::~LinearAlgebraicEquations | ( | void | ) |
LinearAlgebraicEquations & OpenNN::LinearAlgebraicEquations::operator= | ( | const LinearAlgebraicEquations & | ) |
Assignment operator. This method assigns the members of another object to this object.
Definition at line 55 of file linear_algebraic_equations.cpp.
bool OpenNN::LinearAlgebraicEquations::operator== | ( | const LinearAlgebraicEquations & | ) | const |
Equal to operator. This method compares this object with anothe object. It returns true if both objects are equal and false otherwise.
Definition at line 69 of file linear_algebraic_equations.cpp.
void OpenNN::LinearAlgebraicEquations::perform_Gauss_Jordan_elimination | ( | Matrix< double > & | a, | |
Matrix< double > & | b | |||
) | const |
This method performs a linear equation solution by Gauss-Jordan eliminiation with full pivoting. On outputs, a is replaced by its matrix inverse, and b is replaced by the corresponding set of solution vectors.
a | Input matrix. | |
b | Input containing a set of right-hand side vectors. |
Definition at line 86 of file linear_algebraic_equations.cpp.
void OpenNN::LinearAlgebraicEquations::perform_Gauss_Jordan_elimination | ( | Matrix< double > & | a, | |
Vector< double > & | b | |||
) | const |
This method performs a linear equation solution by Gauss-Jordan eliminiation with full pivoting. On outputs, a is replaced by its matrix inverse, and b is replaced by the corresponding solution vector.
a | A matrix. | |
b | b vector. |
Definition at line 217 of file linear_algebraic_equations.cpp.
Vector< double > OpenNN::LinearAlgebraicEquations::calculate_Gauss_Jordan_solution | ( | Matrix< double > | a, | |
Vector< double > | b | |||
) | const |
This method returns the solution vector x to the linear equation Ax = b, using the Gauss-Jordan elimination method.
a | A matrix. | |
b | b vector. |
Definition at line 337 of file linear_algebraic_equations.cpp.