code: def frange(start, end, inc=1.0):
      
  
      start = 1.0*start
      end   = 1.0*end
      inc   = 1.0*inc
  
      # if we got a dumb increment
      if not inc: return _n.array([start,end])
  
      # if the increment is going the wrong direction
      if 1.0*(end-start)/inc < 0.0:
          inc = -inc
  
      # get the integer steps
      ns = _n.array(list(range(0, int(1.0*(end-start)/inc)+1)))
  
      return start + ns*inc
docs: A range function, that accepts float increments and reversed direction.
  
      See also numpy.linspace()