bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / integrate / _ivp / radau / solve_collocation_system
function
scipy.integrate._ivp.radau:solve_collocation_system
source: build-install/usr/lib/python3.14/site-packages/scipy/integrate/_ivp/radau.py:48
Signature
def solve_collocation_system(fun, t, y, h, Z0, scale, tol, LU_real, LU_complex, solve_lu)Summary
Solve the collocation system.
Parameters
fun: callableRight-hand side of the system.
t: floatCurrent time.
y: ndarray, shape (n,)Current state.
h: floatStep to try.
Z0: ndarray, shape (3, n)Initial guess for the solution. It determines new values of
yatt + h * Casy + Z0, whereCis the Radau method constants.scale: ndarray, shape (n)Problem tolerance scale, i.e.
rtol * abs(y) + atol.tol: floatTolerance to which solve the system. This value is compared with the normalized by
scaleerror.LU_real, LU_complexLU decompositions of the system Jacobians.
solve_lu: callableCallable which solves a linear system given a LU decomposition. The signature is
solve_lu(LU, b).
Returns
converged: boolWhether iterations converged.
n_iter: intNumber of completed iterations.
Z: ndarray, shape (3, n)Found solution.
rate: floatThe rate of convergence.
Aliases
scipy.integrate._ivp.radau.solve_collocation_system