MCPcopy Create free account
hub / github.com/mpi4py/mpi4py / array

Method array

test/test_msgspec.py:1328–1329  ·  view source on GitHub ↗
(self, typecode, initializer)

Source from the content-addressed store, hash-verified

1326class TestMessageVectorNumPy(unittest.TestCase, BaseTestMessageVectorArray):
1327 #
1328 def array(self, typecode, initializer):
1329 return numpy.array(initializer, dtype=typecode)
1330
1331 def testCountNumPyArray(self):
1332 sbuf = bytearray(b"abc")

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected