[SciPy-User] scipy.integrate.solve_bvp with explicit dependence on independent variable?

Pauli Virtanen pav at iki.fi
Wed Oct 25 18:51:22 EDT 2017

ke, 2017-10-25 kello 16:01 -0400, Boyan Penkov kirjoitti:
> So, can scipy.integrate.solve_bvp be used in problems where there's
> an
> explicit dependence on $r$, for functions where the right-hand side
> is
> F(dq/dx, q, r)?

Does "dq/dx" mean "dq/dr" and equation of type

d^2 q/dr^2 = F(dq/dr, q, r)

Then the yes, the independent variable is the first argument in 
"def fun(r, y)". If this is not what you are looking for, if you write
explicitly the first order system you want to solve maybe better
answers come.

Pauli Virtanen

More information about the SciPy-User mailing list