Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Conversation

sritchie
Copy link
Member

@sritchie sritchie commented Mar 23, 2021

From the CHANGELOG:

  • Port curvature.scm, fix operator behavior #337:

    • adds sicmutils.calculus.curvature, with these new functions and many tests
      from the classic "Gravitation" book:

      Riemann-curvature, Riemann, Ricci, torsion-vector, torsion and
      curvature-components

    • If you combine Operator instances with non-equal :subtype fields, the
      returned operator now keeps the parent subtype (or throws if one is not a
      subtype of the other).

    • Operator instances now ignore any identity?-passing operator on the left
      or right side of operator-operator multiplication. Contexts are still
      appropriately merged.

    • Similarly, Operator addition ignores zero? operators on the left or
      right side, and subtraction ignores zero? operators on the right right.

    • form fields now have NO identity operator, since they multiply by wedge, not
      composition.

@codecov-io
Copy link

Codecov Report

Merging #337 (a76996a) into master (a8e3d2d) will decrease coverage by 0.09%.
The diff coverage is 48.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #337      +/-   ##
==========================================
- Coverage   83.72%   83.63%   -0.10%     
==========================================
  Files          84       85       +1     
  Lines        9659     9714      +55     
  Branches      501      497       -4     
==========================================
+ Hits         8087     8124      +37     
- Misses       1071     1093      +22     
+ Partials      501      497       -4     
Impacted Files Coverage Δ
src/sicmutils/calculus/curvature.cljc 38.77% <38.77%> (ø)
src/sicmutils/calculus/form_field.cljc 87.67% <100.00%> (-2.94%) ⬇️
src/sicmutils/calculus/manifold.cljc 72.28% <0.00%> (+0.29%) ⬆️
src/sicmutils/numsymb.cljc 90.75% <0.00%> (+0.72%) ⬆️
src/sicmutils/operator.cljc 78.67% <0.00%> (+1.89%) ⬆️
src/sicmutils/calculus/covariant.cljc 56.15% <0.00%> (+4.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8e3d2d...a76996a. Read the comment docs.

@sritchie sritchie changed the title Port curvature.scm and all tests [in progress] Port curvature.scm, fix operator behavior Mar 24, 2021
@sritchie sritchie merged commit 2eb2eda into master Mar 24, 2021
@sritchie sritchie deleted the sritchie/curvature branch May 3, 2021 13:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants