Java Array Divide divide(double[] a, double sum)

Here you can find the source of divide(double[] a, double sum)

Description

divide

License

Open Source License

Declaration

public static void divide(double[] a, double sum) 

Method Source Code

//package com.java2s;

public class Main {
    public static void divide(double[] a, double sum) {
        for (int i = 0; i < a.length; i++) {
            a[i] /= sum;//from www  .j  av a 2 s . co  m
        }
    }
}

Related

  1. div(float[] nums, int n)
  2. div(float[] values, float divisor)
  3. div(int[]... vectors)
  4. div(String[] X)
  5. div_one(double[][] A)
  6. divide(double[] a, double v)
  7. divide(double[] a, double[] b)
  8. divide(double[] array, double divisor)
  9. divide(double[] array, double value)