def test_multiple(self): assert_allclose(cot(np.array([1,0.5])), [0.6420926, 1.8304877])
def test_single(self): assert_allclose(cot(1), 0.6420926)