Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Mar 11, 2024
1 parent 32f062e commit 8e9b4a9
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 302 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nalgebra-spacetime"
version = "0.4.0"
version = "0.5.0"
authors = ["Rouven Spreckels <[email protected]>"]
edition = "2021"
description = "Spacetime Extension for nalgebra"
Expand Down Expand Up @@ -34,4 +34,3 @@ rustdoc-args = [ "--html-in-header", "katex.html" ]
[dependencies]
approx = { version = "0.5.1", default-features = false }
nalgebra = { version = "0.32.4", features = ["rand"] }
num-traits = "0.2.18"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Spacetime Extension for [nalgebra]

# Present Features

* Minkowski space as special case of `LorentzianN` space.
* Minkowski space as special case of n-dimensional `Lorentzian` space.
* Raising/Lowering tensor indices: `dual()`/`r_dual()`/`c_dual()`.
* Metric contraction of degree-1/degree-2 tensors: `contr()`/`scalar()`.
* Spacetime `interval()` with `LightCone` depiction.
* Inertial `FrameN` of reference holding boost parameters.
* Inertial `OFrame` of reference holding boost parameters.
* Lorentz boost as `new_boost()` matrix.
* Direct Lorentz `boost()` to `compose()` velocities.
* Wigner `rotation()` and `axis_angle()` between to-be-composed boosts.
Expand Down
8 changes: 8 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Version 0.5.0 (2024-03-11)

* Replace `N: SimdRealField + Signed + Real` with `T: RealField`.
* Rename `LorentzianN` to `Lorentzian`.
* Rename `FrameN` to `OFrame`.
* Rename `MomentumN` to `OMomentum`.
* Make `OFrame::rotation()` robust close to identity.

# Version 0.4.0 (2024-02-27)

* Make Wigner rotation n-dimensional.
Expand Down
Loading

0 comments on commit 8e9b4a9

Please sign in to comment.