Hyperexponential Derivatives
📐 Definition
Section titled “📐 Definition”With , derivatives are
where is the trigamma function.
Domain and Codomain
Section titled “Domain and Codomain”Defined for and integer (extendable to complex parameters away from polygamma poles). Outputs are real for real inputs.
⚙️ Key Properties
Section titled “⚙️ Key Properties”Smooth in parameters; and for positive arguments since on . Higher derivatives involve higher-order polygammas.
🎯 Special Cases and Limits
Section titled “🎯 Special Cases and Limits”As , . For large (with fixed ), one has and .
🔗 Related Functions
Section titled “🔗 Related Functions”Polygammas provide the necessary derivatives; warp gradients propagate these sensitivities through spatial mappings.
Usage in Oakfield
Section titled “Usage in Oakfield”Oakfield uses hyperexponential derivatives to support warp dynamics and parameter sensitivity:
- Warp gradients:
core/operators/analytic_warp.ccallssim_hyperexp_phi_deriv_safe()(andsim_qhyperexp_phi_deriv()for QHYPEREXP) fromcore/math/hyperexponential.*to compute a stable local gradient. - Complex support exists via complex-valued derivative helpers (e.g.
sim_hyperexp_phi_deriv_complex_opt) for complex-field experimentation. - Error handling: the “safe” APIs return diagnostic reports and route invalid inputs through fallback handlers (important near poles and branch issues).
Historical Foundations
Section titled “Historical Foundations”📜 Oakfield Construction
Section titled “📜 Oakfield Construction”These derivatives are an Oakfield-specific companion to the hyperexponential warp, written in terms of classical polygamma functions to enable stable analytic gradients.
📚 References
Section titled “📚 References”- NIST Digital Library of Mathematical Functions (DLMF), §5.15