Closed sritchie closed 7 months ago
Attention: Patch coverage is 95.89041%
with 6 lines
in your changes are missing coverage. Please review.
Project coverage is 87.68%. Comparing base (
cc47e69
) to head (4499c63
).
Files | Patch % | Lines |
---|---|---|
src/emmy/differential.cljc | 96.61% | 2 Missing and 2 partials :warning: |
src/emmy/abstract/function.cljc | 91.30% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR
Differential
generalized dual and its term list algebra with a simplifiedDual
number typeemmy.util.vector-set
and tests, as these are no longer usednil
implementation forextract-tangent
, meaning thatnil
-valued functions now work withD
This new approach works because the
emmy.differential/*active-tags*
stack allows us to make sure that lifted binary operations always wrap their output in a newDual
with the tag assigned by the inner-most derivative call.