(*xyz)
return np.moveaxis(np.array(np.meshgrid(*xyz, indexing="ij")), 0, -1)
Given the end points of an n-cube aligned with the coordinate axes, this returns
    the corner points of the cube in the correct data structure.
Given the end points of an n-cube aligned with the coordinate axes, this returns
    the corner points of the cube in the correct data structure.
Given the end points of an n - cube aligned with the coordinate axes this returns the corner points of the cube in the correct data structure .
def ncube_points(*xyz):
    """Given the end points of an n-cube aligned with the coordinate axes, this returns
    the corner points of the cube in the correct data structure.
    """
    return np.moveaxis(np.array(np.meshgrid(*xyz, indexing="ij")), 0, -1)
def ncube_points ( * xyz ) : return np . moveaxis ( np . array ( np . meshgrid ( * xyz , indexing = "ij" ) ) , 0 , - 1 )