计算机科学 > 数学软件
[提交于 2021年9月6日 (v1),最后修订于 2025年12月25日 (此版本, v2)]
标题:OGRe: An Object-Oriented General Relativity Package for Mathematica
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present OGRe, a modern Mathematica package for tensor calculus, designed to be both powerful and user-friendly. The package can be used in a variety of contexts where tensor calculations are needed, in both mathematics and physics, but it is especially suitable for general relativity. By implementing an object-oriented design paradigm, OGRe allows calculating arbitrarily complicated tensor formulas easily, and automatically transforms between index configurations and coordinate systems behind the scenes as needed, eliminating user errors by making it impossible for the user to combine tensors in inconsistent ways. Other features include displaying tensors in various forms, automatic calculation of curvature tensors and geodesic equations, easy importing and exporting of tensors between sessions, optimized algorithms and parallelization for improved performance, and more.