def METHOD_NAME():
    array = ((2, 3, 4), (3, 4, 5), (6, 6, 12))
    amin = (2, 3, 1)
    amax = 6
    np_arr = np.array(array)
    num_arr = num.array(array)
    out_np = np.empty(np_arr.shape)
    out_num = num.empty(np_arr.shape)
    np.clip(np_arr, a_min=amin, a_max=amax, out=out_np)
    num.clip(num_arr, a_min=amin, a_max=amax, out=out_num)
    assert np.array_equal(out_np, out_num)