This release is a pre-release and may not be stable for production use.
PyMatLie
Installation
Either install via pip through
pip install pymatlie
or, for development, clone the repository and install in editable mode using
$ python -m venv venv
$ source venv/bin/activate
$ pip install -e ".[dev]"
Usage
We use $g \in G$ for a group element, where $G$ is the Matrix Lie Group, $\xi \in \mathbb R^m$ for a column vector in the Lie Algebra and $\xi^\wedge \in \mathfrak g$ for the matrix representation of said vector.
from pymatlie.se2 import SE2
g = SE2.random() # Sample random group element
# Moving from the Group to the Lie Algebra
xi_hat = SE2.log(g)
xi = SE2.vee(xi_hat)
# or alternatively
xi = SE2.Log(g)
# Moving from the Lie Algebra to the Group
xi_hat = SE2.hat(xi) # Or SE3.wedge(xi)
g = SE2.expm(xi_hat)
# or alternatively
g = SE2.exp(xi)
# There are methods for generating common matrices
e = SE2.get_identity()
Jl = SE2.left_jacobian(xi)
Jr = SE2.right_jacobian(xi)
Ad = SE2.adjoint_matrix(g)
ad = SE2.ad_operator(g)
Features
- Implemented SO(2), SE(2)
- Batched
- Euler-Poincare and Euler-Poincare-Suslov
Metadata
Release files for pymatlie 0.0.1a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymatlie-0.0.1a1.tar.gz | 15.3 kB | Without provenance | Details for pymatlie-0.0.1a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymatlie-0.0.1a1-py3-none-any.whl | Python 3 | none | any | Details for pymatlie-0.0.1a1-py3-none-any.whl |
Total release size: 25.4 kB
Release files / pymatlie-0.0.1a1.tar.gz
| Download URL | pymatlie-0.0.1a1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7ed1542f43fc724ee962a2a46ddd928bac1e311de24723149c7127ea795e092
|
|
BLAKE2b-256 checksum How to use checksums |
ce4164be4de36d9785b04bf197b6264585f4d9d3e3147e343bc3d7f37790d838
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pymatlie-0.0.1a1-py3-none-any.whl
| Download URL | pymatlie-0.0.1a1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c74422a8b495d05c7328d484a7421de3cf7b4f32b826c4a38efdf74d5ca5e103
|
|
BLAKE2b-256 checksum How to use checksums |
3f2c25da5630ddd1a4bcae84b17d98ce383de33757ea18296f0e75f52173b6b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for pymatlie 0.0.1a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.