Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- try {
- String fileName = "MatrixOfSystem.txt";
- LowerRelaxationMethod object = new LowerRelaxationMethod(5, 6, 0.9);
- object.formAugmentedMatrix(fileName);
- object.printAugmentedMatrix();
- object.formFandH();
- object.firstIteration();
- object.iterations();
- object.printX();
- object.printCountOfIterations();
- object.findDiscrepancy();
- object.printDiscrepancy();
- object.discrepancyNorm();
- }
- catch(Exception e){
- System.out.println("Ошибка!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement