Example #1
0
 def setUp(self):
     self.a = random_complex_matrix(3, 4, 1, 2)
Example #2
0
 def setUp(self):
     self.a = random_complex_matrix(3, 4, 1, 2)
Example #3
0
 def test_float_1(self):
     res = testing.random_complex_matrix(5, 7, 2, 2)
     self.assertEqual(res.ndim, 5 + 2)
     self.assertTrue(np.all([x >= 2 and x <= 7 for x in res.shape[:-2]]))
     self.assertTrue(np.iscomplexobj(res))
     self.assertIsInstance(res, hfarray)