package fugue; public class GF2utils { static byte GFadd(byte a,byte b){ return (byte)(a^b); } static byte GFsub(byte a,byte b){ return (byte)(a^b); } static byte GFmult(byte a,byte b){ return (byte)(a&b); } static byte[][] GFmatrixmult(byte[][] a,byte[][] b){ byte[][] c=new byte[b.length][a[0].length]; if(a.length!=b[0].length) //# cols in A = # rows in B return null; //Size mismatch for(int i=0;i