Example #1
0
def test_lse_3():
    lse = LogSumExponential()
    assert lse.radius == 1.0
    lse_vals = [lse.f(x) for x in t()]
    assert_array_less(lse_vals, true_t())
Example #2
0
def test_lse_3():
    lse = LogSumExponential()
    assert lse.radius == 1.0
    lse_vals = [lse.f(x) for x in t()]
    assert_array_less(lse_vals, true_t())
Example #3
0
def test_lse_2():
    lse = LogSumExponential(20.0)
    lse_vals = [lse.f(x) for x in t()]
    assert_array_less(lse_vals, true_t())
Example #4
0
def test_lse_2():
    lse = LogSumExponential(20.0)
    lse_vals = [lse.f(x) for x in t()]
    assert_array_less(lse_vals, true_t())