diffjeom
Differential geometry powered by jax. Given a metric function, this package lets you compute:
- Christoffel symbols of the second kind (
get_christoffel2); - The Riemann curvature tensor (
get_riemann); - The Ricci tensor (
get_ricci_tensor); - The Ricci scalar/scalar curvature (
get_ricci_scalar).
These work with the usual jax transformations like jit and vmap.
The functions check_christoffel2_sym, check_riemann_sym,
check_diff_bianchi and check_ricci_tensor_sym are provided to check
identities for these objects.
Getting started
Install with
pip install diffjeom
This will install jax and jaxlib if you don't already have them. The tests
require numpy and can be run with pytest. Check them out for some usage
examples.
Metadata
Release files for diffjeom 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| diffjeom-0.0.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| diffjeom-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / diffjeom-0.0.1.tar.gz
| Download URL | diffjeom-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fb05845c43d88258474e2eb21f7527f47c69370f90d7abec89370c401970c53
|
|
BLAKE2b-256 checksum How to use checksums |
a6f056f83a7392efba30a8159dfe275ac21fefc995c1922892694422341298a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Release files / diffjeom-0.0.1-py3-none-any.whl
| Download URL | diffjeom-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e7cd395f8107064bb63c6bd79791dfb660ece9794c81b9dd1c24c650b233d0a
|
|
BLAKE2b-256 checksum How to use checksums |
62e515e7686c8741729ba6c6ca2c10dd52e0d630bc655450e9851d02f385894f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|