Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undualization, grade involution, Clifford conjugation, scalar product, normsquared, & norm #472

Closed
Greg1950 opened this issue Apr 1, 2021 · 1 comment
Milestone

Comments

@Greg1950
Copy link
Contributor

Greg1950 commented Apr 1, 2021

Attached is a zip file titled undual, g_invol, ccon, sp, norm2, & norm.zip. In it are seven files. Of particular note are

  • code for undual, g_invol, ccon, sp, norm2, & norm.ipynb
    This Jupyter notebook describes changes I am suggesting to the mv.py module of GAlgebra. Specifically I am suggesting that four new operations be implemented as Mv class methods. Those operations are undualization, grade involution, Clifford conjugation, and scalar product. All four are described in Geometric Algebra for Computer Science. I am also suggesting that two existing operations, those of normsquared and norm, be recoded with the goals of widening their domain of applicability and significantly increasing the correctness of the expressions returned by norm. This notebook is descriptive only. It contains no executable In[ ] cells.
  • tests of undual, g_invol, ccon, sp, norm2, & norm.ipynb
    This second Jupyter notebook runs tests of the proposed code. It relies on use of a modified mv.py module and of the gprinter.py module authored by Alan Bromborsky. The modifications to mv.py consist of the code suggested in the first notebook.
  • mv.py
    This is a modification of the like-named module currently available on GitHub's GAlgebra website. This modified mv.py is the one I used in the second Jupyter notebook. My modifications of the module are delimited by comments "### GSG code starts ###" and "### GSG code ends ###".
  • gprinter.py
    This GAlgebra module is also needed for the second Jupyter notebook.

Two of the remaining three files are PDFs of the Jupyter notebooks, included so that anyone interested can look at my results with a PDF reader, without needing to fire up Jupyter Notebook or JupyterLab. The third is a PDF which essentially repeats the information in this posting.

I suggest running the second notebook using mv.py (as it currently exists on the website) and comparing the output of the tests therein with that shown in the PDF of the second notebook.

undual, g_invol, ccon, sp, norm2, & norm.zip

Edit by @eric-wieser : the above zip as a gist

@utensil utensil added this to the 0.6.0 milestone Mar 30, 2024
utensil added a commit that referenced this issue Apr 6, 2024
… as is, as tests, renamed to `test_gsg_undual_etc.ipynb`

Co-authored-by: Greg Grunberg <[email protected]>
utensil added a commit that referenced this issue Apr 6, 2024
… as is, as tests, renamed to `test_gsg_undual_etc.ipynb`

Co-authored-by: Greg Grunberg <[email protected]>
@utensil utensil mentioned this issue Apr 6, 2024
11 tasks
@utensil
Copy link
Member

utensil commented May 15, 2024

Thank you, @Greg1950 , I believe this is covered by your improvements merged by #510 . Feel free to reopen if there are remaining issues.

@utensil utensil closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants