Exemplo 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())
Exemplo 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())
Exemplo 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)
Exemplo 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)