Here you can find the source of sumLog(List
public static float sumLog(List<Float> Q)
//package com.java2s; /*/*from ww w. j a v a 2 s . c o m*/ * Copyright 2015, Yahoo Inc. * Copyrights licensed under the GPL License. * See the accompanying LICENSE file for terms. */ import java.util.List; public class Main { public static float sumLog(List<Float> Q) { float res = 0; for (float f : Q) { res += Math.log(f); } return res; } }