Example #1
0
def test_hyp2f1_battin_scalar():
    x = np.linspace(0, 1, num=11)
    expected_res = special.hyp2f1(3, 1, 5/2, x)

    for ii, x_i in enumerate(x):
        res = hyper.hyp2f1(3, 1, 5/2, x_i)
        assert_almost_equal(res, expected_res[ii])
Example #2
0
def hyp_battin(x):
    return hyper.hyp2f1(3, 1, 5 / 2, x)
Example #3
0
def hyp_battin(x):
    return hyper.hyp2f1(3, 1, 5 / 2, x)