/* ## class FTriUp ## ## This class holds the routines for a upper triangular matrix stored ## in full form. There is no factor routine; triangular matrices are ## already in factored form. ## */ package edu.rice.linpack.Matrix.FMatrix; import edu.rice.linpack.util.*; import edu.rice.linpack.Vector.*; import edu.rice.linpack.LNumber.*; public class FTriUp extends FTriFull { public FTriUp() { super(); } public FTriUp(int i, int j) { Mat = new float[i][j]; rows = i; cols = j; } public FTriUp(float[][] F) { rows = F.length; cols = (F[0]).length; Mat = F; } public FTriUp(FTriUp M) { rows = M.rows; cols = M.cols; Mat = new float[rows][cols]; for(int i=0;i 0) { for(int j=nm-1;j>=0;j--) { float T = -B[j+1]; this.axpy(j+1, T, 1,0,j+1,B,1,0); B[j] = B[j]/this.Mat[j][j]; } } } else { B[0] = B[0]/this.Mat[0][0]; if(cols > 1) { for(int j=1;j