コード例 #1
0
  public void print(PrintStream ps) {

    for (int i = 0; i < rows; i++) {
      for (int j = 0; j < cols; j++) {
        Format.print(ps, "%8.2f", value[i][j]);
      }
      ps.println();
    }
  }
コード例 #2
0
  public void printE(PrintStream ps) {

    for (int j = 0; j < rows; j++) {
      Format.print(ps, "%15.4e", e[j]);
    }
  }