Exemple #1
0
 def test_empty(self):
     a1 = ctf.empty((2, 3, 4))
     a1 = ctf.empty((2, 3, 4), dtype=numpy.complex128)
     a1 = ctf.empty_like(a1)
     self.assertTrue(a1.dtype == numpy.complex128)
Exemple #2
0
 def test_empty(self):
     a1 = ctf.empty((2,3,4))
     a1 = ctf.empty((2,3,4), dtype=numpy.complex128)
     a1 = ctf.empty_like(a1)
     self.assertTrue(a1.dtype == numpy.complex128)