A JAX-compatible KLU sparse direct solver for linear systems (LU factorization), useful for circuit simulation and power systems. Version 0.5.0; pre-1.0, breaking changes possible. Cadence: irregular.
pip install klujaxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Solve a sparse linear system using KLU via JAX. Inputs are COO format arrays (row, col, data) and right-hand side b.
Pin version with `klujax==0.5.0` and monitor releases.
Ensure inputs are JAX arrays with correct dtypes: `row=jnp.array(..., dtype=jnp.int32)`, `data=jnp.array(..., dtype=jnp.float64)`.
Do not wrap klujax_solve inside `jax.jit`. Use outside JIT context.