code: def rescale_clip_source(xx, scale, offset, vmin, vmax, yy):
      for i in range(xx.size):
          val = (xx[i] - offset) * scale
          yy[i] = min(max(val, vmin), vmax)
  
imports: import numba
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: rescale_clip_source(xx, scale, offset, vmin, vmax, yy) without return types