JAX backend
The equations of opencr.backends.jax_backend, declared on the code that implements them and checked by the tests.
effective_rate
functionsourceReturn M_eff[target, source] / n_e (m^3/s) as a differentiable JAX scalar.
- gradient
- Assumes
- the reduction of
quasi_staticwritten injax.numpy, vmapped over ; float64
- the reduction of
- Built from
jacobian
functionsourceReturn dR/dn as a dense array by forward-mode automatic differentiation.
- jacobian
- Assumes
- dense; the general equations (nonlinear, quasi-neutral) with Maxwellian rates
- a
Functionrate is tabulated on itsfile_temperaturesand interpolated in log-log
- Built from