wGmdh.jGmdh.oldskul
Class LinearEqSystem

java.lang.Object
  extended by wGmdh.jGmdh.oldskul.LinearEqSystem

public class LinearEqSystem
extends java.lang.Object


Field Summary
 double[][] mA
           
 double[] mB_tr
           
 double[] mX_tr
           
 
Constructor Summary
LinearEqSystem()
           
LinearEqSystem(double[][] mA, double[] mB_tr, double[] mX_tr)
           
LinearEqSystem(int nrEquations)
           
 
Method Summary
 double[] gaussElimination()
          Solves system of linear equations by Gauss elimination method, using partial pivoting, forward elimination and back substitution.
 void uglyOutMatrices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mA

public double[][] mA

mB_tr

public double[] mB_tr

mX_tr

public double[] mX_tr
Constructor Detail

LinearEqSystem

public LinearEqSystem()

LinearEqSystem

public LinearEqSystem(double[][] mA,
                      double[] mB_tr,
                      double[] mX_tr)

LinearEqSystem

public LinearEqSystem(int nrEquations)
Method Detail

gaussElimination

public double[] gaussElimination()
Solves system of linear equations by Gauss elimination method, using partial pivoting, forward elimination and back substitution. In-place method, i.e. changes mA, mB_tr and mX_tr.


uglyOutMatrices

public void uglyOutMatrices()