Here you can find the source of printDoubleVector(double[] pVec)
public static void printDoubleVector(double[] pVec)
//package com.java2s; /*/*from www . j a v a2 s. c o m*/ * Copyright (C) 2003 by Institute for Systems Biology, * Seattle, Washington, USA. All rights reserved. * * This source code is distributed under the GNU Lesser * General Public License, the text of which is available at: * http://www.gnu.org/copyleft/lesser.html */ public class Main { public static void printDoubleVector(double[] pVec) { int numElements = pVec.length; for (int ctr = 0; ctr < numElements; ++ctr) { System.out.println("index: " + ctr + "; value: " + pVec[ctr]); } } }