Kingdon

Latest version: v1.2.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.0

------------------
* Binary operators are now broadcasted across lists and tuples, e.g. `R >> [point1, point2]`.
* Projection () and conjugation (>>) are now symbolically optimized by default.
* Matrix reps made with `expr_as_matrix` now have better support for numerical (and multidimensional) multivectors.

1.1.2

------------------
* Improved printing, especially for multivector with array or multivector coefficients.
* `pretty_blade` options added to algebra, to allow users to choose the printing of basis blades.
* getattr bugfix

1.1.0

------------------
* Map and filter now support two argument functions. If such a funtion is provided,
map/filter is applied on key, value pairs.
* Added exponential function for simple objects.
* Raising a mv to 0.5 is now correctly interpreted as a square root.
This enables e.g. automatic differentiation.

1.0.6

------------------
Bugfixes to ganja.js integration:
* Make sure camera is an object before checking for 'mv' key.
* Improved draggable points for PGA.

1.0.5

------------------
* Blades by grade syntax: alg.blades.grade(2).
* Fixed "define" error in ganja.js integration, kingdon now works with reveal.js voila template.

1.0.0

------------------
* Kingdon now has proper support for ganja.js animations and the graphs are interactive!
* Indexing a multivector will no longer access coefficients.
The whole promise of GA is coordinate independence, so why would you need to access coefficients?
Instead, slicing a multivector will pass on that information to the underlying datastructures
(e.g. numpy array or pytorch tensor), and will return a new multivector.
Moreover, you can use the new slicing syntax to set values as well.
If you really still need access to the coefficients, there is always the getattr syntax or the .values() method.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.