/**
 * Scales all elements in a numeric array by a given factor
 * @param array The array to scale
 * @param factor The scaling factor
 * @returns A new array with all elements scaled
 */
export function scaleArray(array, factor) {
    return array.map((v) => v * factor);
}
//# sourceMappingURL=arrays.js.map