10个不稳定版本 (3个破坏性版本)

0.4.0 2024年2月27日
0.3.0 2024年2月21日
0.2.4 2021年3月6日
0.2.3 2021年1月8日
0.1.2 2020年6月17日

#195 in 数学

Download history 64/week @ 2024-04-01

每月171次下载

MIT/Apache

47KB
895

nalgebra-spacetime

nalgebra的时空扩展

Build Documentation Downloads Version Rust License

当前功能

  • Minkowski空间作为LorentzianN空间的特例。
  • 提升/降低张量指标:dual()/r_dual()/c_dual().
  • 度数为1/2的张量度量收缩:contr()/scalar().
  • 带有LightCone表示的时空interval()
  • 包含提升参数的惯性FrameN参考系。
  • Lorentz提升作为new_boost()矩阵。
  • 直接Lorentz boost()compose()速度。
  • 在待组合的提升之间进行Wigner rotation()axis_angle()

未来功能

  • Event4/Velocity4/Momentum4/...Point4/...的等价物。
  • Rotation4/PureBoost4/...分类为Boost4/...
  • 已组合的 rotation()axis_angle() 的 Wigner 转动。
  • 区分前/后旋转和主动/被动 Boost4 组合。

伪本地文档构建

# Build and open documentation inclusive dependencies.
cargo doc --open
# Rebuild this crate's documentation with KaTeX.
cargo tex
# Refresh opened documentation.

.cargo/config.toml 中定义了 cargo tex。注意,由于 KaTeX 通过远程 CDN 集成,浏览文档需要网络访问。

许可证

版权所有 © 2020,2021,2024 Rouven Spreckels [email protected]

本项目受以下许可证之一许可:

任选其一。

贡献

除非你明确表示,否则根据 Apache-2.0 许可证的定义,你提交给本项目以包含在内的任何贡献,都将如上双许可,不附加任何额外条款或条件。

依赖项

~4MB
~82K SLoC