PR from abrombo/galgebra:master for reference (with merge conflicts solved)#62
PR from abrombo/galgebra:master for reference (with merge conflicts solved)#62eric-wieser wants to merge 20 commits intopygae:masterfrom
Conversation
function (overloaded print function). Added function xtex to printer for displaying LaTeX output. For example the call xtex(tex='texmaker') invokes the 'texmaker' program (if installed) with the tex output file. The is useful for debugging incorrect LaTeX output. Replaced sympy collect function with custom Collect so that tests work with sympy 1.4. Worked through most of jupyter notebook and LaTeX examples with new python 3 compatible printing in printing.py. Also added comments to functions that needed explainations. Still much more to do on that task.
and Sdop when either is multiplied by (left multiplication) a multivector resulting in a Dop. Signed-off-by: Alan Bromborsky <abrombo999@gmail.com>
|
Created https://github.com/abrombo/galgebra/pull/2 to get this merge into @abrombo's hands |
| def odot(self,dot_flg=True): | ||
| new_self = copy.deepcopy(self) | ||
| new_self.dot_flg = dot_flg | ||
| return new_self |
There was a problem hiding this comment.
This is the only change to the differential operators part of this file (xref gh-133)
These are files that were either created temporarily for testing, or were accidentally restored from a much older version.
018bb9f to
7bf587e
Compare
The comment in ga.py is just copied from the sympy docs. The one in metric is self-explanatory.
This was errantly removed by me in a previous commit, I think
|
This pull request introduces 6 alerts and fixes 1 when merging 3182784 into 409bb90 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request introduces 6 alerts and fixes 1 when merging 7988e73 into 409bb90 - view on LGTM.com new alerts:
fixed alerts:
|
|
Rebased with some flake8 fixes and removals of stray files. I think all that's really in here now is an incomplete |
|
This pull request introduces 6 alerts and fixes 1 when merging bfeaddb into 46cde16 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request introduces 6 alerts and fixes 1 when merging 9f8a1ec into ce2daf8 - view on LGTM.com new alerts:
fixed alerts:
|
| from IPython.core.interactiveshell import InteractiveShell | ||
| # Allow multiple outputs in an output cell | ||
| # https://forums.fast.ai/t/jupyter-notebook-enhancements-tips-and-tricks/17064/2 | ||
| InteractiveShell.ast_node_interactivity = "all" |
There was a problem hiding this comment.
This isn't about allowing multiple outputs, it's about producing them automatically.
The user can always print multiple outputs with display(...) if they want to.
This doesn't seem like a good idea to me. If users want it, they can do it themselves.
|
This pull request introduces 6 alerts and fixes 1 when merging 1234445 into 421449b - view on LGTM.com new alerts:
fixed alerts:
|
| if isinstance(s[0], str): | ||
|
|
||
| if s[0] == 'h': | ||
| GaLatexPrinter.fmt_dict['h'] = True | ||
| s = s[1:] |
There was a problem hiding this comment.
This looks like a bad idea to me. This changes the behavior of print(my_str) to print nothing at all if my_str == 'h'!
|
Conflicts solved again |
|
This pull request introduces 6 alerts when merging 448edf0 into 5108d16 - view on LGTM.com new alerts:
|
448edf0 to
9aa5005
Compare
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
==========================================
- Coverage 77.56% 75.86% -1.71%
==========================================
Files 16 16
Lines 4217 4495 +278
==========================================
+ Hits 3271 3410 +139
- Misses 946 1085 +139
Continue to review full report at Codecov.
|
|
This pull request introduces 6 alerts when merging 9aa5005 into 5108d16 - view on LGTM.com new alerts:
|
| \newcommand{\lbrc}{\left \{} | ||
| \newcommand{\rbrc}{\right \}} | ||
| \newcommand{\rbrc}{\right \]} | ||
| \newcommand{\lbrk}{\left \[} | ||
| \newcommand{\rbrk}{\right \}} |
|
This pull request introduces 5 alerts when merging 309bbd7 into f6452ab - view on LGTM.com new alerts:
|
…master-merge # Conflicts: # examples/ipython/dop.ipynb # examples/ipython/gr_metrics.ipynb # galgebra/printer.py
…master-merge # Conflicts: # examples/LaTeX/Dop.py # examples/LaTeX/christoffel_symbols.py # examples/LaTeX/colored_christoffel_symbols.py # examples/ipython/colored_christoffel_symbols.ipynb # examples/ipython/inner_product.ipynb # examples/ipython/second_derivative.ipynb # examples/ipython/st4.ipynb # galgebra/printer.py
# Conflicts: # examples/ipython/tutorial_algebra.ipynb # galgebra/mv.py # galgebra/printer.py
|
This pull request introduces 5 alerts when merging 76315e4 into 09d882f - view on LGTM.com new alerts:
|
|
Thank you @abrombo @eric-wieser , this should be superseded by #510 which merged gprinter from upstream. Feel free to reopen if there are remaining issues. |
A variant of #52 containing the
(trivial)manual merge(s) needed to make the diff readable