def fast_multiply(matrix, value):
    """
    Fast multiply list on value

    :param matrix: List of values
    :param value: Multiplier
    :return: Multiplied list
    """
    for ix in range(0, matrix.shape[0]):
        matrix[ix] *= value
    return matrix