Class Progonka5

java.lang.Object
com.polytechnik.utils.Progonka5

public class Progonka5 extends Object
5 points stable Cholesky elimination. Algorithm from: A.A.Samarskiy, E.S.Nikolaev, Grid Calculations Methods, 1978, p. 73.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    Test.
    static void
    eliminate(int n, double[] am, double[] bm, double[] cm, double[] dm, double[] em, double[] fm, double[] y, double[] alfa, double[] beta, int[] in1, int[] in2, int[] in3)
    5 non-zero points in a row.
    static void
    main(String[] args)
     

    Methods inherited from class java.lang.Object

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

    • Progonka5

      public Progonka5()
  • Method Details

    • eliminate

      public static void eliminate(int n, double[] am, double[] bm, double[] cm, double[] dm, double[] em, double[] fm, double[] y, double[] alfa, double[] beta, int[] in1, int[] in2, int[] in3)
      5 non-zero points in a row.
      Parameters:
      am - diag-2 element.
      bm - diag-1 element.
      cm - diag element.
      dm - diag_1 element.
      em - diag element.
      fm - right part.
      y - solution.
    • checkLinSystem5

      private static void checkLinSystem5()
      Test. java com/polytechnik/utils/Progonka5 checkLinSystem5: 100000 tests OK done in 144772 milliseconds. ver=$Id: Progonka5.java,v 1.40 2022/07/19 08:36:33 mal Exp $
    • main

      public static void main(String[] args)