Here you can find the source of normalizeWith(double[] arr, double v)
public static void normalizeWith(double[] arr, double v)
//package com.java2s; //License from project: Open Source License public class Main { public static void normalizeWith(double[] arr, double v) { for (int i = 0; i < arr.length; i++) { arr[i] /= v;/* w w w . j a v a2 s . c o m*/ } } }