CSharp ArrayMultiplication

From scripting
Jump to: navigation, search
        static double[] ArrayMultiplication(double[] a, double multiplier)
        {
            double[] c = { a[0] * multiplier, a[1] * multiplier, a[2] * multiplier };
            return c;
        }


This subroutine was used in the development of the Mega-Dots World's Toughest Connect-the-Dots Puzzles.

Unrelated MEL scripting help located here: YSYT.