pynucastro.autodiff.derivative_pair module# Two independent forward-mode derivative components, stored without arrays. class pynucastro.autodiff.derivative_pair.DerivativePair(d1, d2)[source]# Store derivatives with respect to two independent variables. Parameters: d1 (float) – Derivative with respect to the first variable. d2 (float) – Derivative with respect to the second variable. pynucastro.autodiff.derivative_pair.zero_derivative(deriv)[source]# Return a zero seed of the same kind as deriv.