multiplyConstant

This operation is in-place.

Return

the transformed array

Parameters

a

the array to multiply the constant by. The array is changed.

c

the constant to multiply against each element