Java Array Sum sum(float[] distribution)

Here you can find the source of sum(float[] distribution)

Description

sum

License

Open Source License

Declaration

public static float sum(float[] distribution) 

Method Source Code

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

public class Main {
    public static float sum(float[] distribution) {
        float result = 0;
        for (float val : distribution)
            result += val;
        return result;
    }//w  w w.  j a  v  a2 s  .  com
}

Related

  1. sum(final int[] values)
  2. sum(final int[] values, final int... indice)
  3. sum(final long... values)
  4. sum(float[] a, int off, int length)
  5. sum(float[] array)
  6. sum(float[] items, int offset, int length)
  7. sum(float[] vector)
  8. sum(int... values)
  9. sum(int... xs)