Here you can find the source of fill(double[][] array, double s)
public static void fill(double[][] array, double s)
//package com.java2s; //License from project: Apache License import java.util.Arrays; public class Main { public static void fill(double[][] array, double s) { for (int i = 0; i < array.length; i++) { Arrays.fill(array[i], s); }/*from w ww . j a v a2 s . c o m*/ } }