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

Fixup docstrings for mv and lt #56

Merged
merged 1 commit into from Nov 24, 2019

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Nov 20, 2019

This:

  • Uses math and code formatting where appropriate
  • Promotes some comments to docstrings
  • Ensures dead commented out code does not end up as a docstring
  • Fixes some typos
  • Merges docstrings duplicated between cls.__doc__ and cls.__init__.__doc__

Results:

https://external-builds.readthedocs.io/html/galgebra/56/generated/galgebra.mv.html
https://external-builds.readthedocs.io/html/galgebra/56/generated/galgebra.lt.html

@codecov
Copy link

codecov bot commented Nov 20, 2019

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #56   +/-   ##
======================================
  Coverage    66.7%   66.7%           
======================================
  Files           8       8           
  Lines        4890    4890           
======================================
  Hits         3262    3262           
  Misses       1628    1628
Impacted Files Coverage Δ
galgebra/lt.py 43% <ø> (ø) ⬆️
galgebra/mv.py 61.7% <100%> (ø) ⬆️

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 a2a34f5...c3537c2. Read the comment docs.

galgebra/lt.py Outdated Show resolved Hide resolved
@eric-wieser eric-wieser force-pushed the clean-mv-docstrings branch 2 times, most recently from 2dcb50e to fe49303 Compare November 20, 2019 13:16
@eric-wieser eric-wieser marked this pull request as ready for review November 20, 2019 13:17
@eric-wieser
Copy link
Member Author

Looking at #52, it doesn't appear this will create any conflicts

@eric-wieser eric-wieser force-pushed the clean-mv-docstrings branch 3 times, most recently from 23db121 to 8cba360 Compare November 22, 2019 13:25
galgebra/mv.py Outdated Show resolved Hide resolved
galgebra/mv.py Outdated Show resolved Hide resolved
galgebra/mv.py Outdated Show resolved Hide resolved
galgebra/mv.py Outdated Show resolved Hide resolved
galgebra/lt.py Outdated Show resolved Hide resolved
= grad_j|(grad_i*F(v_1,...,v_i,...,v_j,...,v_r)).
This returns a mlt with slot i and j removed.

.. math:: F(v_1,...,v_r;v_{r+1}) = (v_{r+1} \bullet \nabla)F(v_1,...,v_j,...,v_r).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eric-wieser Besides the change suggestions submitted, it would be better to introduce the \bullet somewhere before using it. There're multiple occurrences, but I think it's ok to be a little repetitive. Just like the clause, "where ∗ is any of the multivector multiplicative operations. "

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bullet is already in the docs for Ga.hestenes_product I think

This:
* Uses math and code formatting where appropriate
* Promotes some comments to docstrings
* Ensures dead commented out code does not end up as a docstring
* Fixes some typos
* Merges docstrings duplicated between `cls.__doc__` and `cls.__init__.__doc__`
@utensil utensil merged commit 5ae058c into pygae:master Nov 24, 2019
@utensil utensil added this to the 0.4.5 milestone Nov 30, 2019
@eric-wieser eric-wieser added the component: docs Documentation label Dec 18, 2019
@eric-wieser eric-wieser deleted the clean-mv-docstrings branch May 26, 2020 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: docs Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants