def array(self) -> npt.NDArray[int]:
    "Retrieves a masked array of element node IDs.\n\n        The return value is ``n x m`` where ``n`` is the number of\n        elements and ``m`` is the maximum number of element nodes, e.g.\n        if there are only trias, then it's 3, for trias and quads it\n        is 4.\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        npt.NDArray\n            Masked array where elements with fewer associated nodes\n            have trailing masked node columns in the array.\n        "
    rank = int(max(map(len, self().values())))
    array = np.full((len(self()), rank), (- 1))
    for (i, elem_nd_ids) in enumerate(self().values()):
        row = np.array(list(map(self.mesh.nodes.get_index_by_id, elem_nd_ids)))
        array[i, :len(row)] = row
    return np.ma.masked_equal(array, (- 1))
Retrieves a masked array of element node IDs.

The return value is ``n x m`` where ``n`` is the number of
elements and ``m`` is the maximum number of element nodes, e.g.
if there are only trias, then it's 3, for trias and quads it
is 4.

Parameters
----------

Returns
-------
npt.NDArray
    Masked array where elements with fewer associated nodes
    have trailing masked node columns in the array.
def array(self) -> npt.NDArray[int]:
    "Retrieves a masked array of element node IDs.\n\n        The return value is ``n x m`` where ``n`` is the number of\n        elements and ``m`` is the maximum number of element nodes, e.g.\n        if there are only trias, then it's 3, for trias and quads it\n        is 4.\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        npt.NDArray\n            Masked array where elements with fewer associated nodes\n            have trailing masked node columns in the array.\n        "
    rank = int(max(map(len, self().values())))
    array = np.full((len(self()), rank), (- 1))
    for (i, elem_nd_ids) in enumerate(self().values()):
        row = np.array(list(map(self.mesh.nodes.get_index_by_id, elem_nd_ids)))
        array[i, :len(row)] = row
    return np.ma.masked_equal(array, (- 1))