import java.io.*; import java.math.*; public class PascalT { static BigInteger[] Triangle = new BigInteger[20]; public static BigInteger[][] negPascal(BigInteger A[][], int Ai) { BigInteger[][] PowerMatrix = new BigInteger[Ai][Ai]; for (int row=0; row-1; row--) { PasTri[row][depth-1] = BigInteger.ONE; for (int col=depth-2; col>row; col--) PasTri[row][col] = PasTri[row+1][col].add(PasTri[row+1][col+1]); PasTri[row][row] = BigInteger.ONE; } return (PasTri); } public static int printMat(BigInteger PasTri[][], int rows, int cols) { for (int row=0; row 1 ) { xyzzy = printMat (ProdMat, size, size ); } else { xyzzy = printMat (PasMat, size, size ); } } catch(IOException e) { System.err.println("Input error:" + e + "\n"); System.exit(1); } } }