Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/c/scipy-0.13.3/scipy/special/tests/test_basic.py   scipy(Download)
    def test_erf(self):
        assert_equal(cephes.erf(0),0.0)
 
    def test_erfc(self):
        assert_equal(cephes.erfc(0),1.0)
    def test_erfc_consistent(self):
        self._check_variant_func(
            cephes.erfc,
            lambda z: 1 - cephes.erf(z),
            rtol=1e-12,
    def test_erfi_consistent(self):
        self._check_variant_func(
            cephes.erfi,
            lambda z: -1j * cephes.erf(1j*z),
            rtol=1e-12