Here you can find the source of normalizedTermMu(double ui, double[] uis)
public static double normalizedTermMu(double ui, double[] uis)
//package com.java2s; //License from project: Open Source License public class Main { public static double normalizedTermMu(double ui, double[] uis) { double max = getMax(uis); return ui / max; }//from www . j a va2 s .com public static double getMax(double[] arr) { double max = arr[0]; for (double a : arr) { if (a > max) { max = a; } } return max; } }