Commit
2 years ago
gh-35354: Add a few operations from linear symplectic geometry ### :books: Description - Add trace of a `(0,2)`-tensor with respect to the symplectic form (or metric) - Add extension of the symplectic form to a bilinear form on `p`-forms - Fix hodge star for symplectic manifolds (was off by a minus sign for odd-degree forms) - Add option for hodge star to add an additional factor of `(-1)^s` with `s` being the number of negative eigenvalues of the metric, that is, ```latex \alpha \wedge \star \beta = (-1)^s g(\alpha, \beta) vol_g ``` ### :memo: Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### :hourglass: Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: https://github.com/sagemath/sage/pull/35354 Reported by: Tobias Diez Reviewer(s): Eric Gourgoulhon, Matthias Köppe, Tobias Diez
Author
Release Manager
Loading