Esempio n. 1
0
 def test_storage_order1(self):
     x = np.array([[1., 2., 3., 4.], [5., 6., 7., 8.]])
     y = eigency_tests.function_filter1(x)
     # y is transposed
     assert_array_equal(x, y.transpose())
Esempio n. 2
0
 def test_storage_order1(self):
     x = np.array([[1., 2., 3., 4.], [5., 6., 7., 8.]])
     y = eigency_tests.function_filter1(x)
     # y is transposed
     assert_array_equal(x, y.transpose())
Esempio n. 3
0
 def test_storage_order4(self):
     # Explicitly use F-storage order in numpy array
     x = np.array([[1., 2., 3., 4.], [5., 6., 7., 8.]], order='F')
     y = eigency_tests.function_filter1(x)
     assert_array_equal(x, y)
Esempio n. 4
0
 def test_storage_order4(self):
     # Explicitly use F-storage order in numpy array
     x = np.array([[1., 2., 3., 4.], [5., 6., 7., 8.]], order='F')
     y = eigency_tests.function_filter1(x)
     assert_array_equal(x, y)