Skip to content

Tessero\Integrate\SolveIvp

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Integrate\SolveIvp, grounded in 2 real API signatures , into your IDE's AI. No chatbot, just exact context.

solve static
solve(callable $fun, array $tSpan, array|float $y0, array $tEval, string $method = 'RK45', float $rtol = 0.001, float $atol = 1.0E-6): array
odeint static
odeint(callable $func, array|float $y0, array $t, bool $tfirst = false, float $rtol = 1.49012E-8, float $atol = 1.49012E-8): array

scipy.integrate.odeint(func, y0, t, tfirst=False): legacy ODE interface over the same ODEPACK dlsoda engine as solve_ivp(method='LSODA'). Integrates from t[0] through the t array (which may be non-monotonic in scipy, but here we require a monotone t as odeint's defaults do) and returns y evaluated at every t, shaped (len(t), n) -- matching scipy's returned array orientation (rows = time points, columns = state components).