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

Method array

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

Source from the content-addressed store, hash-verified

532class TestMessageSimpleNumPy(unittest.TestCase, BaseTestMessageSimpleArray):
533 #
534 def array(self, typecode, initializer):
535 return numpy.array(initializer, dtype=typecode)
536
537 def testByteOrder(self):
538 sbuf = numpy.zeros([3], "i")

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected