compute_sigma_hat_tangent_jets ============================== .. py:function:: t3toolbox.backend.sampling_derivatives.compute_sigma_hat_tangent_jets(right_tt_cores, right_tt_cores_dot, xi_jets, xi_jets_dot, sigma_hats) .. code-block:: python def compute_sigma_hat_tangent_jets( right_tt_cores: typ.Sequence[NDArray], # R. len=d, elm_shape=C+(rRi,nDi,rR(i+1)) right_tt_cores_dot: typ.Sequence[NDArray], # R_dot. len=d, elm_shape=K+C+(rRi,nDi,rR(i+1)) xi_jets: typ.Sequence[NDArray], # len=d, elm_shape=(2,)+W+C+(nDi,) xi_jets_dot: typ.Sequence[NDArray], # len=d, elm_shape=(2,)+W+K+C+(nDi,) sigma_hats: typ.Sequence[NDArray], # = compute_sigma_hat_jets(R, xi, c). len=d, elm_shape=(order+1,)+W+C+(rR(i+1),) ) -> typ.Tuple[NDArray, ...]: # sigma_hats_dot. len=d, elm_shape=(order+1,)+W+K+C+(rR(i+1),) The derivative of :py:func:`compute_sigma_hat_jets` along ``(R_dot, xi_dot)``, the residual jet ``c`` fixed. The same right-to-left propagation-only sweep with the dotted ``sigma_hat`` as its carry. The seed ``c`` does not move, so the dotted sweep starts from zero; each step is the product rule of the GN step -- the two-term reverse recurrence of the affine input jet against the dotted carry, plus the same recurrence of the undotted ``sigma_hat`` entering the core against ``d(R xi) = R_dot xi + R xi_dot`` (:py:func:`_sigma_hat_tangent_jets_step`). The undotted operands carry ``W + C`` (``c`` has no ``K``), the dotted ``W + K + C``. Dense reference: the three-term dense binomial twin in the test helper (equal to ~1e-15).