Package algs91

Class XGaussJordanElimination

java.lang.Object
algs91.XGaussJordanElimination

public class XGaussJordanElimination extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final double[][]
     
    private static final double
     
    private final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    XGaussJordanElimination(double[][] A, double[] b)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private boolean
    check(double[][] A, double[] b)
     
    double[]
     
    boolean
     
    static void
    main(String[] args)
     
    private void
    pivot(int p, int q)
     
    double[]
     
    private void
     
    private void
     
    private void
    swap(int row1, int row2)
     
    static void
    test(double[][] A, double[] b)
     
    static void
     
    static void
     
    static void
     
    static void
     
    static void
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • solve

      private void solve()
    • swap

      private void swap(int row1, int row2)
    • pivot

      private void pivot(int p, int q)
    • primal

      public double[] primal()
    • dual

      public double[] dual()
    • isFeasible

      public boolean isFeasible()
    • show

      private void show()
    • check

      private boolean check(double[][] A, double[] b)
    • test

      public static void test(double[][] A, double[] b)
    • test1

      public static void test1()
    • test2

      public static void test2()
    • test3

      public static void test3()
    • test4

      public static void test4()
    • test5

      public static void test5()
    • test6

      public static void test6()
    • main

      public static void main(String[] args)