{"id":15903183,"url":"https://github.com/qu1x/nalgebra-spacetime","last_synced_at":"2026-02-26T09:59:22.591Z","repository":{"id":57643141,"uuid":"270715217","full_name":"qu1x/nalgebra-spacetime","owner":"qu1x","description":"Spacetime Extension for nalgebra","archived":false,"fork":false,"pushed_at":"2024-10-11T18:58:31.000Z","size":60,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T05:09:30.294Z","etag":null,"topics":["four-vector","lorentzian-space","minkowski-space","nalgebra","relativistic-physics","rust-lang","spacetime","special-relativity"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qu1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/Apache-2.0","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-08T15:13:20.000Z","updated_at":"2024-10-11T18:58:35.000Z","dependencies_parsed_at":"2024-03-11T18:54:35.035Z","dependency_job_id":null,"html_url":"https://github.com/qu1x/nalgebra-spacetime","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":0.288135593220339,"last_synced_commit":"f407e1d6513b53a31f9024a34db72f55e0669376"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qu1x%2Fnalgebra-spacetime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qu1x%2Fnalgebra-spacetime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qu1x%2Fnalgebra-spacetime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qu1x%2Fnalgebra-spacetime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qu1x","download_url":"https://codeload.github.com/qu1x/nalgebra-spacetime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644842,"owners_count":21620634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["four-vector","lorentzian-space","minkowski-space","nalgebra","relativistic-physics","rust-lang","spacetime","special-relativity"],"created_at":"2024-10-06T12:01:15.375Z","updated_at":"2026-02-26T09:59:22.547Z","avatar_url":"https://github.com/qu1x.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# nalgebra-spacetime\n\nSpacetime Extension for [nalgebra]\n\n[nalgebra]: https://nalgebra.org\n\n[![Build][]](https://github.com/qu1x/nalgebra-spacetime/actions/workflows/build.yml)\n[![Documentation][]](https://docs.rs/nalgebra-spacetime)\n[![Downloads][]](https://crates.io/crates/nalgebra-spacetime)\n[![Version][]](https://crates.io/crates/nalgebra-spacetime)\n[![Rust][]](https://www.rust-lang.org)\n[![License][]](https://opensource.org/licenses)\n\n[Build]: https://github.com/qu1x/nalgebra-spacetime/actions/workflows/build.yml/badge.svg\n[Documentation]: https://docs.rs/nalgebra-spacetime/badge.svg\n[Downloads]: https://img.shields.io/crates/d/nalgebra-spacetime.svg\n[Version]: https://img.shields.io/crates/v/nalgebra-spacetime.svg\n[Rust]: https://img.shields.io/badge/rust-stable-brightgreen.svg\n[License]: https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-blue.svg\n\n# Present Features\n\n  * Minkowski space as special case of n-dimensional `Lorentzian` space.\n  * Raising/Lowering tensor indices: `dual()`/`r_dual()`/`c_dual()`.\n  * Metric contraction of degree-1/degree-2 tensors: `contr()`/`scalar()`.\n  * Spacetime `interval()` with `LightCone` depiction.\n  * Inertial `OFrame` of reference holding boost parameters.\n  * Lorentz boost as `new_boost()` matrix.\n  * Direct Lorentz `boost()` to `compose()` velocities.\n  * Wigner `rotation()` and `axis_angle()` between to-be-composed boosts.\n\n# Future Features\n\n  * `Event4`/`Velocity4`/`Momentum4`/`...` equivalents of `Point4`/`...`.\n  * Categorize `Rotation4`/`PureBoost4`/`...` as `Boost4`/`...`.\n  * Wigner `rotation()` and `axis_angle()` of an already-composed `Boost4`.\n  * Distinguish pre/post-rotation and active/passive `Boost4` compositions.\n\n# Pseudo-local Documentation Builds\n\n```sh\n# Build and open documentation inclusive dependencies.\ncargo doc --open\n# Rebuild this crate's documentation with KaTeX.\ncargo tex\n# Refresh opened documentation.\n```\n\nWith `cargo tex` defined in [.cargo/config.toml](.cargo/config.toml). Note that navigating the\ndocumentation requires web access as KaTeX is embedded via remote CDN.\n\n# License\n\nCopyright © 2020,2021,2024 Rouven Spreckels \u003crs@qu1x.dev\u003e\n\nThis project is licensed under either of\n\n * Apache License, Version 2.0, ([LICENSES/Apache-2.0](LICENSES/Apache-2.0) or\n   https://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSES/MIT](LICENSES/MIT) or https://opensource.org/licenses/MIT)\n\nat your option.\n\n# Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in\nthis project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without\nany additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqu1x%2Fnalgebra-spacetime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqu1x%2Fnalgebra-spacetime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqu1x%2Fnalgebra-spacetime/lists"}