Skip to content

Commit 4689050

Browse files
committed
Merge pygae/master until commit 09ecbd1 and fixes pga and small stuffs
2 parents e376c59 + 09ecbd1 commit 4689050

File tree

14 files changed

+625
-624
lines changed

14 files changed

+625
-624
lines changed

.lgtm.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ignore the example files, we don't need quality there, and they skew our
2+
# stats and drown out real issues
3+
path_classifiers:
4+
examples:
5+
- examples
6+
test:
7+
- test
8+
docs:
9+
- doc

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Development Status
1212

1313
![PyPI - Status](https://img.shields.io/pypi/status/galgebra.svg) ![GitHub contributors](https://img.shields.io/github/contributors/pygae/galgebra.svg) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fe7642c639a54d909a36c75db6c2fa49)](https://app.codacy.com/app/utensilcandel/galgebra?utm_source=github.com&utm_medium=referral&utm_content=pygae/galgebra&utm_campaign=Badge_Grade_Settings) [![Codecov](https://img.shields.io/codecov/c/github/pygae/galgebra.svg)](https://codecov.io/gh/pygae/galgebra)
1414

15-
[brombo/galgebra](https://github.com/brombo/galgebra) was originally written by Alan Bromborsky, but is no longer actively maintained.
15+
[brombo/galgebra][] was originally written by Alan Bromborsky, but was no longer actively maintained, and as of 2019-11-25 no longer exists.
1616

1717
[pygae/galgebra](https://github.com/pygae/galgebra) is a community fork, maintained by [Pythonic Geometric Algebra Enthusiasts](https://github.com/pygae).
1818

@@ -100,7 +100,7 @@ You may also check out more examples [here](https://github.com/pygae/galgebra/bl
100100

101101
For detailed documentation, please visit https://galgebra.readthedocs.io/ .
102102

103-
**NOTE:** If you are coming from [sympy.galgebra](https://docs.sympy.org/0.7.6.1/modules/galgebra/) or [brombo/galgebra](https://github.com/brombo/galgebra), please check out section [Migration Guide](#migration-guide) below.
103+
**NOTE:** If you are coming from [sympy.galgebra](https://docs.sympy.org/0.7.6.1/modules/galgebra/) or [brombo/galgebra][], please check out section [Migration Guide](#migration-guide) below.
104104

105105
Installing GAlgebra
106106
---------------------
@@ -176,7 +176,7 @@ Simply remove the `sympy.` prefix before `galgebra` then you are good to go:
176176
from galgebra.ga import *
177177
```
178178

179-
### Migrating from [brombo/galgebra](https://github.com/brombo/galgebra)
179+
### Migrating from [brombo/galgebra][]
180180

181181
The `setgapth.py` way to install is now deprecated by `pip install galgebra` and all modules in GAlgebra should be imported from `galgebra`, for example:
182182

@@ -194,3 +194,5 @@ Note that in the [doc/books](https://github.com/pygae/galgebra/blob/master/doc/b
194194
- `BookGA.pdf` which is a collection of notes on Geometric Algebra and Calculus based of "Geometric Algebra for Physicists" by Doran and Lasenby and on some papers by Lasenby and Hestenes.
195195
- `galgebra.pdf` which is the original main doc of GAlgebra in PDF format, while the math part is still valid, the part describing the installation and usage of GAlgebra is outdated, please read with cautious or visit https://galgebra.readthedocs.io/ instead.
196196
- `Macdonald` which constains bundled supplementary materials for [Linear and Geometric Algebra](http://www.faculty.luther.edu/~macdonal/laga/index.html) and [Vector and Geometric Calculus](http://www.faculty.luther.edu/~macdonal/vagc/index.html) by Alan Macdonald, see [here](https://github.com/pygae/galgebra/blob/master/doc/books/Macdonald/) and [here](https://github.com/pygae/galgebra/blob/master/examples/Macdonald/) for more information.
197+
198+
[brombo/galgebra]: https://web.archive.org/web/20180611145113/https://github.com/brombo/galgebra

__init__.py

Whitespace-only changes.

doc/changelog.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22
Changelog
33
=========
44

5+
- :feature:`78` :meth:`~galgebra.ga.Ga.grads` now raises a better error when it fails, and is faster.
6+
- :support:`72` Other internal cleanup
7+
- :feature:`66` (also :issue:`67`, :issue:`71`) Remove unused code in the public API:
8+
9+
* ``Ga.mul_table``, ``Ga.wedge_table``, ``Ga.dot_table``, ``Ga.left_contract_table``,
10+
and ``Ga.right_contract_table``, all of which were the empty list, ``[]``.
11+
* ``galgebra.mv.modules``, a string which served no purpose
12+
* ``__add_ab__``, ``__sub_ab__``, ``__mul_ab__``, and ``__div_ab__``, none of are real magic method names.
13+
No code should be calling these directly anyway.
14+
15+
- :feature:`66` The :attr:`~galgebra.ga.Ga.mul_table_dict` table, and the equivalent tables for the other products, are now computed lazily when indexed. These are now all documented too.
16+
- :bug:`61` Make contraction and Hestenes dot products thread-safe.
17+
Previously these relied on the :attr:`~galgebra.ga.Ga.dot_mode` setting not being changed mid-operation.
18+
The :meth:`~galgebra.ga.Ga.dot` method still respects this setting, but is no longer used internally.
19+
- :bug:`60` Make :meth:`~galgebra.mv.Mv.blade_rep` and :meth:`~galgebra.mv.Mv.base_rep` not mutate the object they are called on.
20+
Any code relying on this behavior will need to change from ``x.base_rep()`` to ``x = x.base_rep()``.
21+
- :support:`59` (also :issue:`65`) Make internal helper functions private.
22+
- :support:`57` (also :issue:`58`) Clean up the ``Mv(name, 'category')`` constructors to produce better error messages.
23+
- :support:`55` Rename ``*kargs`` to ``*args`` internally, to match convention.
24+
This has no effect on callers, but makes the docs and source easier to read.
25+
- :feature:`50` (also :issue:`51`, :issue:`56`) Improve documentation formatting:
26+
27+
* LaTeX and code samples are now appropriately formatted
28+
* Attributes of classes now have permalinks
29+
30+
- :support:`46` (also :issue:`69`) Remove unnecessary executable bit from importable python files, and the corresponding no-op code that would be run.
31+
532
- :release:`0.4.4 <2019.09.30>`
633
- :feature:`17` Fix examples under both Python 2 & 3
734

0 commit comments

Comments
 (0)