示例#1
0
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
示例#2
0
 def test_wls_1d(self):
     z = IRWLS.wls(self.x, self.y, self.w)
     assert_array_almost_equal(z[0], 1)
示例#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)))
示例#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)))