Example #1
0
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
Example #2
0
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
Example #3
0
 def test_wls_2d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], np.ones((2, 1)))
Example #4
0
 def test_wls_2d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], np.ones((2, 1)))