Here you can find the source of ArrayScale(float[] a, float b)
public static float[] ArrayScale(float[] a, float b)
//package com.java2s; //License from project: Open Source License public class Main { public static float[] ArrayScale(float[] a, float b) { float[] ret = new float[a.length]; for (int i = 0; i < a.length; i++) { ret[i] = a[i] * b;/*from ww w .j a va 2s . c o m*/ } return ret; } }