code: def testNdzeros_matrix(self):
      for dtp in (
          numpy.int16,
          numpy.int32,
          numpy.float32,
          numpy.complex128,
      ):
          dt = numpy.dtype(dtp)
          shape = (6, 10)
          a1 = ndarray_ext.zeros_matrix(shape, dt)
          a2 = numpy.matrix(numpy.zeros(shape, dtype=dtp))
          self.assertEqual(shape, a1.shape)
          self.assert_((a1 == a2).all())
          self.assertEqual(type(a1), type(a2))
  
file_path: turicreate/src/external/boost/boost_1_68_0/libs/python/test/numpy/ndarray.py
imports: import ndarray_ext
  import unittest
  import numpy
label_desc: Use image node_id 2 for calling the TestNdarray obj's underlying member method code with example usage: obj.testNdzeros_matrix() without return types