(g, m, v, i, j, K)
return dmp_strip([ _rec_diff_in(c, m, w, i, j, K) for c in g ], v)
Recursive helper for :func:`dmp_diff_in`.
Recursive helper for :func:`dmp_diff_in`.
Recursive helper for : func : dmp_diff_in .
def _rec_diff_in(g, m, v, i, j, K):
    """Recursive helper for :func:`dmp_diff_in`."""
    if i == j:
        return dmp_diff(g, m, v, K)

    w, i = v - 1, i + 1

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