예제 #1
0
 def test_cov_gau(self):
     self.assertTrue(np.allclose(ipol.cov_gau([0., 5., 10.]),
                                 np.array([1.00000000e+00, 1.38879439e-11,
                                           3.72007598e-44])))
     self.assertTrue(
         np.allclose(ipol.cov_gau([0., 5., 10.], sill=2., rng=10.),
                     np.array([2., 1.55760157, 0.73575888])))
예제 #2
0
 def test_cov_gau(self):
     self.assertTrue(np.allclose(ipol.cov_gau([0., 5., 10.]),
                                 np.array([1.00000000e+00, 1.38879439e-11,
                                           3.72007598e-44])))
     self.assertTrue(
         np.allclose(ipol.cov_gau([0., 5., 10.], sill=2., rng=10.),
                     np.array([2., 1.55760157, 0.73575888])))
예제 #3
0
 def test_cov_gau(self):
     assert np.allclose(
         ipol.cov_gau([0.0, 5.0, 10.0]),
         np.array([1.00000000e00, 1.38879439e-11, 3.72007598e-44]),
     )
     assert np.allclose(
         ipol.cov_gau([0.0, 5.0, 10.0], sill=2.0, rng=10.0),
         np.array([2.0, 1.55760157, 0.73575888]),
     )