code: def _g_div_gp(r, n, p, x, y, w):
      t1 = (r + 1) ** n
      t2 = (r + 1) ** (n - 1)
      return (y + t1 * x + p * (t1 - 1) * (r * w + 1) / r) / (
          n * t2 * x
          - p * (t1 - 1) * (r * w + 1) / (r**2)
          + n * p * t2 * (r * w + 1) / r
          + p * (t1 - 1) * w / r
      )
  
imports: from __future__ import division, absolute_import, print_function
  from decimal import Decimal
  import functools
  import numpy
  from numpy.core import overrides
label_desc: Use image node_id 15 for calling a global function with example usage: _g_div_gp(r, n, p, x, y, w) and returns: unknown