Here you can find the source of minValue(double array[][])
public static double minValue(double array[][])
//package com.java2s; //License from project: Open Source License public class Main { public static double minValue(double array[][]) { double minValue = 9999; for (int i = 0; i < array.length; i++) { for (int j = 0; j < array[i].length; j++) { if (array[i][j] < minValue) { minValue = array[i][j]; }//from w w w. j a va2 s . c o m } } return minValue; } }