Installation
EpiAwareADTools is not yet registered in the Julia General Registry; install it from GitHub:
julia
using Pkg
Pkg.add(url = "https://github.com/EpiAware/EpiAwareADTools.jl")Load it alongside Distributions.jl:
julia
using EpiAwareADTools, DistributionsThe tape-strip helpers (primal, primal_distribution) and the AD-safe hooks (cdf_ad_safe and companions) work on primal values with no extra dependency. The per-backend derivative rules live in package extensions, loaded automatically when you load a backend:
julia
using ForwardDiff # or ReverseDiff, Enzyme, MooncakeEach backend package activates the matching extension (EpiAwareADToolsForwardDiffExt and so on), which supplies the derivative that keeps a Gamma CDF differentiable in its shape and scale.
The Getting started overview tours the hooks with worked examples, and the Charter and status page explains why each entry is here and when it gets deleted.