integral_transform(I, x, u) performs the substitution x = u in the
integral I, as SymPy's Integral.transform(): when x is a symbol,
u is an expression in a new variable (give list(u, uvar) when it has
several free symbols); when u is a symbol, x is an expression in the
integration variable that becomes u. Limits are mapped, and swapped
with a sign change when they come out in decreasing order.
Arguments
- I
An unevaluated
Integral().- x
An integration variable, or an expression in one.
- u
The expression replacing it, or
list(expr, symbol).