bandedmatrixsolution
Class BandedIOMatrixSolution

java.lang.Object
  |
  +--bandedmatrixsolution.BandedIOMatrixSolution

public class BandedIOMatrixSolution
extends java.lang.Object

Crea la interfaz entre los archivos y los metodos para solucionar los sistemas de ecuaciones

Version:
1.0, 05/09/2001
Author:
Omar Posada Villarreal

Field Summary
private  int AColumns
           
private  int ARows
           
private  int BColumns
           
private  BandedMatrix bmA
           
private  int BRows
           
private  double[][] d2A
           
private  double[][] d2B
           
private  int height
           
private  java.lang.String pathFileA
           
private  java.lang.String pathFileB
           
private  java.lang.String pathFileHW
           
private  ReadMatrixFile rmfA
           
private  ReadMatrixFile rmfB
           
private  ReadMatrixFile rmfHW
           
private  double[] vectB
           
private  double[] vectX
           
private  int width
           
 
Constructor Summary
BandedIOMatrixSolution()
           
 
Method Summary
 boolean callBandedGaussSeidel(java.lang.String pfA, java.lang.String pfB, java.lang.String pfHW, double tolerance, int iterations)
           
 boolean callBandedJacobi(java.lang.String pfA, java.lang.String pfB, java.lang.String pfHW, double tolerance, int iterations)
           
private  boolean getDimensions()
           
private  void initMatrices()
           
private  boolean readABMatrices()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

pathFileA

private java.lang.String pathFileA

pathFileB

private java.lang.String pathFileB

rmfA

private ReadMatrixFile rmfA

rmfB

private ReadMatrixFile rmfB

pathFileHW

private java.lang.String pathFileHW

rmfHW

private ReadMatrixFile rmfHW

bmA

private BandedMatrix bmA

vectB

private double[] vectB

vectX

private double[] vectX

d2A

private double[][] d2A

d2B

private double[][] d2B

ARows

private int ARows

AColumns

private int AColumns

BRows

private int BRows

BColumns

private int BColumns

height

private int height

width

private int width
Constructor Detail

BandedIOMatrixSolution

public BandedIOMatrixSolution()
Method Detail

readABMatrices

private boolean readABMatrices()

getDimensions

private boolean getDimensions()

initMatrices

private void initMatrices()

callBandedGaussSeidel

public boolean callBandedGaussSeidel(java.lang.String pfA,
                                     java.lang.String pfB,
                                     java.lang.String pfHW,
                                     double tolerance,
                                     int iterations)

callBandedJacobi

public boolean callBandedJacobi(java.lang.String pfA,
                                java.lang.String pfB,
                                java.lang.String pfHW,
                                double tolerance,
                                int iterations)