OpenNN::LinearAlgebraicEquations Class Reference

#include <linear_algebraic_equations.h>

List of all members.

Public Member Functions

 LinearAlgebraicEquations (void)
 ~LinearAlgebraicEquations (void)
LinearAlgebraicEquationsoperator= (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


Detailed Description

This class contains methods for the solution of linear algebraic equations. In particular it implements the Gauss-Jordan eliminiation, LU decomposition and Cholesky decomposition methods.

Definition at line 26 of file linear_algebraic_equations.h.


Constructor & Destructor Documentation

OpenNN::LinearAlgebraicEquations::LinearAlgebraicEquations ( void   ) 

General constructor.

Definition at line 32 of file linear_algebraic_equations.cpp.

OpenNN::LinearAlgebraicEquations::~LinearAlgebraicEquations ( void   ) 

Destructor.

Definition at line 42 of file linear_algebraic_equations.cpp.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
a A matrix.
b b vector.

Definition at line 337 of file linear_algebraic_equations.cpp.


The documentation for this class was generated from the following files:

Generated on Sun Aug 26 11:58:21 2012 for OpenNN by  doxygen 1.5.9