def _rec_integrate_in(g, m, v, i, j, K):
 if (i == j):
  return dmp_integrate(g, m, v, K)
 (w, i) = ((v - 1), (i + 1))
 return dmp_strip([_rec_integrate_in(c, m, w, i, j, K) for c in g], v)

def _rec_integrate_in ( g , m , v , i , j , K ) : if ( i == j ) : return dmp_integrate ( g , m , v , K ) ( w , i ) = ( ( v - 1 ) , ( i + 1 ) ) return dmp_strip ( [ _rec_integrate_in ( c , m , w , i , j , K ) for c in g ] , v )
recursive helper for :func:dmp_integrate_in .