Пример #1
0
  /**
   * Test client.
   *
   * @throws IOException
   */
  public static void main(String[] args) throws IOException {

    // read and print an array of doubles
    double[] a = StdArrayIO.readDouble1D();
    StdArrayIO.print(a);
    System.out.println();

    // read and print a matrix of doubles
    double[][] b = StdArrayIO.readDouble2D();
    StdArrayIO.print(b);
    System.out.println();
  }