Version 3.0 — complete manuscript with vectorized implementation, benchmarks, and implicit layer applications. This paper introduces a vectorized hypercomplex perturbation method that recovers exact gradients and full Hessians of scalar-valued functions in a single forward evaluation. Speedup over v0.1.0: 23× at n=16, 108× at n=32, 1129× at n=100. For implicit layers z*=f(z*,θ), recovers the IFT-correct Hessian — JAX unrolled gives a different result. hcderiv is 27–403× faster than JAX unrolled for n=3–8. Trust-region demo: exact and FD converge in 16 iterations; diagonal stalls at f=6.2e-3 after 150. 59 tests pass. HC vs JAX: 4×10⁻¹⁶. GitHub: https://github.com/zetta55byte/hypercomplex | PyPI: https://pypi.org/project/hcderiv/ | Software DOI: 10.5281/zenodo.19389522
zetta byte (Thu,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: