Java Array Min Value minIn(double[] array)

Here you can find the source of minIn(double[] array)

Description

min In

License

Open Source License

Declaration

public static double minIn(double[] array) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double minIn(double[] array) {
        double min = Double.MAX_VALUE;
        for (double val : array) {
            min = min > val ? val : min;
        }//from  w  w w  .j  av a2s .com
        return min;
    }
}

Related

  1. minimum(float[] array)
  2. minimum(int... values)
  3. minimumDotProduct(int[] a, int[] b)
  4. minimumOf(final int[] array)
  5. minimumWordLength(String[] words)
  6. minIndex(double values[])
  7. minIndex(double... data)
  8. minIndex(double[] a)
  9. minIndex(double[] arr)