Here you can find the source of zero(double[] zero)
public static void zero(double[] zero)
//package com.java2s; //License from project: Open Source License public class Main { /**// w ww . ja va 2s.c o m * Sets every value of the passed array to 0. */ public static void zero(double[] zero) { for (int k = 0; k < zero.length; k++) { zero[k] = 0; } } /** * Sets every value of the passed array to 0. */ public static void zero(int[] zero) { for (int k = 0; k < zero.length; k++) { zero[k] = 0; } } }