예제 #1
0
 def testReshape(self):
     a1 = numpy.empty((2,2))
     a2 = ndarray_ext.reshape(a1,(1,4))
     self.assertEqual(a2.shape,(1,4))
예제 #2
0
 def testReshape(self):
     a1 = numpy.empty((2,2))
     a2 = ndarray_ext.reshape(a1,(1,4))
     self.assertEqual(a2.shape,(1,4))