c86bf80ddcbce8afe19f1469b2c1295dd9c0e5b5,scipy/interpolate/tests/test_interpolate.py,TestInterp1D,test_nd,#TestInterp1D#,154
Before Change
)
// Multidimensional outputs.
interp210 = interp1d(self.x10, self.y210)
assert_array_almost_equal(
interp210(1.5),
np.array([[1.5], [11.5]]),
)
After Change
assert_array_almost_equal(z(x2).shape, b)
def test_nd(self):
for kind in ("linear", "cubic"):
self._nd_check(kind=kind)
class TestLagrange(TestCase):
def test_lagrange(self):
p = poly1d([5,2,1,4,3])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: scipy/scipy
Commit Name: c86bf80ddcbce8afe19f1469b2c1295dd9c0e5b5
Time: 2008-06-28
Author: pav@iki.fi
File Name: scipy/interpolate/tests/test_interpolate.py
Class Name: TestInterp1D
Method Name: test_nd
Project Name: scipy/scipy
Commit Name: c86bf80ddcbce8afe19f1469b2c1295dd9c0e5b5
Time: 2008-06-28
Author: pav@iki.fi
File Name: scipy/interpolate/tests/test_interpolate.py
Class Name: TestInterp1D
Method Name: test_bounds
Project Name: scipy/scipy
Commit Name: 198a20391c9913e58f24f7342b5672f1b6a056e6
Time: 2016-10-26
Author: evgeny.burovskiy@gmail.com
File Name: scipy/interpolate/tests/test_interpolate.py
Class Name: TestInterp1D
Method Name: test_linear