Here you can find the source of printArray(double[] array, String info)
public static void printArray(double[] array, String info)
//package com.java2s; //License from project: Open Source License public class Main { public static void printArray(double[] array, String info) { System.out.println(info); String outStr = ""; for (int i = 0; i < array.length; i++) outStr += array[i] + "\t"; System.out.println(outStr); }/*w w w.j a v a 2 s. c o m*/ public void printArray(double[] oneArray) { for (int i = 0; i < oneArray.length; i++) System.out.print(oneArray[i] + "\t"); System.out.println(); } }