Java Array Min Value minIndex(double[] list)

Here you can find the source of minIndex(double[] list)

Description

min Index

License

Apache License

Declaration

public static int minIndex(double[] list) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static int minIndex(double[] list) {
        int bi = -1;
        for (int i = 0; i < list.length; i++)
            if (bi == -1 || list[i] < list[bi])
                bi = i;//from  w ww  . java2s  .  c om
        return bi;
    }
}

Related

  1. minIn(double[] array)
  2. minIndex(double values[])
  3. minIndex(double... data)
  4. minIndex(double[] a)
  5. minIndex(double[] arr)
  6. minIndex(double[] v)
  7. minIndex(double[] value)
  8. minIndex(double[] x, int length)
  9. minIndex(double[][] matrix, int column)