Tessero\Optimize\KrylovJacobian
AI assistant
Build this with Claude Code, Cursor or Copilot
Copy a Tessero-tuned prompt for Tessero\Optimize\KrylovJacobian, grounded in 4 real API signatures , into your IDE's AI. No chatbot, just exact context.
__construct
__construct(int $innerMaxiter = 20)
setup
setup(array $x, array $F, callable $func): void
update
update(array $x, array $f): void
solve
solve(array $f, float $tol = 0.0): array
Solve J dx = rhs with restarted GMRES to the inexact-Newton tolerance `tol` (scipy passes tol = min(eta, eta*||F||) from the driver as the GMRES rtol).
matvec
matvec(array $v): array
Finite-difference directional derivative J . v.