Here you can find the source of multiplySelf(double[] dest, double source)
public static void multiplySelf(double[] dest, double source)
//package com.java2s; //License from project: Open Source License public class Main { public static void multiplySelf(double[] dest, double source) { for (int i = 0; i < dest.length; ++i) { dest[i] *= source;//from www.j ava 2 s . com } } }