class_docstr: `nd_grid` instance which returns a dense multi-dimensional "meshgrid".
  
  An instance of `numpy.lib.index_tricks.nd_grid` which returns an dense
  (or fleshed out) mesh-grid when indexed, so that each returned argument
  has the same shape.  The dimensions and number of the output arrays are
  equal to the number of indexing dimensions.  If the step length is not a
  complex number, then the stop is not inclusive.
  
  However, if the step length is a **complex number** (e.g. 5j), then
  the integer part of its magnitude is interpreted as specifying the
  number of points to create between the start and stop values, where
  the stop value **is inclusive**.
  
  Returns
  ----------
  mesh-grid `ndarrays` all of the same dimensions
  
  See Also
  --------
  numpy.lib.index_tricks.nd_grid : class of `ogrid` and `mgrid` objects
  ogrid : like mgrid but returns open (not fleshed out) mesh grids
  r_ : array concatenator
  
  Examples
  --------
  >>> np.mgrid[0:5,0:5]
  array([[[0, 0, 0, 0, 0],
          [1, 1, 1, 1, 1],
          [2, 2, 2, 2, 2],
          [3, 3, 3, 3, 3],
          [4, 4, 4, 4, 4]],
         [[0, 1, 2, 3, 4],
          [0, 1, 2, 3, 4],
          [0, 1, 2, 3, 4],
          [0, 1, 2, 3, 4],
          [0, 1, 2, 3, 4]]])
  >>> np.mgrid[-1:1:5j]
  array([-1. , -0.5,  0. ,  0.5,  1. ])
class_docstr_tok: ["`","nd_grid","`","instance","which","returns","a","dense","multi-dimensional","``","meshgrid","''",".","An","instance","of","`","numpy.lib.index_tricks.nd_grid","`","which","returns","an","dense","(","or","fleshed","out",")","mesh-grid","when","indexed",",","so","that","each","returned","argument","has","the","same","shape",".","The","dimensions","and","number","of","the","output","arrays","are","equal","to","the","number","of","indexing","dimensions",".","If","the","step","length","is","not","a","complex","number",",","then","the","stop","is","not","inclusive",".","However",",","if","the","step","length","is","a","*","*","complex","number","*","*","(","e.g",".","5j",")",",","then","the","integer","part","of","its","magnitude","is","interpreted","as","specifying","the","number","of","points","to","create","between","the","start","and","stop","values",",","where","the","stop","value","*","*","is","inclusive","*","*",".","Returns","--","--","--","--","--","mesh-grid","`","ndarrays","`","all","of","the","same","dimensions","See","Also","--","--","--","--","numpy.lib.index_tricks.nd_grid",":","class","of","`","ogrid","`","and","`","mgrid","`","objects","ogrid",":","like","mgrid","but","returns","open","(","not","fleshed","out",")","mesh","grids","r_",":","array","concatenator","Examples","--","--","--","--",">",">",">","np.mgrid","[","0:5,0:5","]","array","(","[","[","[","0",",","0",",","0",",","0",",","0","]",",","[","1",",","1",",","1",",","1",",","1","]",",","[","2",",","2",",","2",",","2",",","2","]",",","[","3",",","3",",","3",",","3",",","3","]",",","[","4",",","4",",","4",",","4",",","4","]","]",",","[","[","0",",","1",",","2",",","3",",","4","]",",","[","0",",","1",",","2",",","3",",","4","]",",","[","0",",","1",",","2",",","3",",","4","]",",","[","0",",","1",",","2",",","3",",","4","]",",","[","0",",","1",",","2",",","3",",","4","]","]","]",")",">",">",">","np.mgrid","[","-1:1:5j","]","array","(","[","-1.",",","-0.5",",","0.",",","0.5",",","1",".","]",")"]
code: def __init__(self):
      super(MGridClass, self).__init__(sparse=False)
  
imports: from __future__ import division, absolute_import, print_function
  import functools
  import sys
  import math
  import numpy.core.numeric
  from numpy.core.numeric import asarray, ScalarType, array, alltrue, cumprod, arange, ndim
  from numpy.core.numerictypes import find_common_type, issubdtype
  import numpy.matrixlib
  from .function_base import diff
  from numpy.core.multiarray import ravel_multi_index, unravel_index
  from numpy.core.overrides import set_module
  from numpy.core import overrides, linspace
  from numpy.lib.stride_tricks import as_strided
label_desc: Use image node_id 1 to create a new MGridClass object from inherited base classes: nd_grid with example: obj = MGridClass()