public class gramschmidt{ public static void qr(matrix A, matrix R){ for(int i=0; i=0;i--){ double s=0; for(int k=i+1;k