Exemple #1
0
 def test_cov_lin(self):
     assert np.allclose(ipol.cov_lin([0.0, 5.0, 10.0]),
                        np.array([1.0, 0.0, 0.0]))
     assert np.allclose(
         ipol.cov_lin([0.0, 5.0, 10.0], sill=2.0, rng=10.0),
         np.array([2.0, 1.0, 0.0]),
     )
Exemple #2
0
 def test_cov_lin(self):
     self.assertTrue(
         np.allclose(ipol.cov_lin([0., 5., 10.]), np.array([1., 0., 0.])))
     self.assertTrue(
         np.allclose(ipol.cov_lin([0., 5., 10.], sill=2., rng=10.),
                     np.array([2., 1., 0.])))
Exemple #3
0
 def test_cov_lin(self):
     self.assertTrue(
         np.allclose(ipol.cov_lin([0., 5., 10.]), np.array([1., 0., 0.])))
     self.assertTrue(
         np.allclose(ipol.cov_lin([0., 5., 10.], sill=2., rng=10.),
                     np.array([2., 1., 0.])))