collapse-崩潰-James Kennington Symbolic Tools

collapse-崩潰-James Kennington

發佈:2020-12-23 14:16:42.509918

做者:James Kennington

做者郵箱:jwkennington@psu.edu

首頁:https://github.com/JWKennington/collapse

文檔:None

下載連接

Collapsing Cosmology Research Utilities

PyPI version PyPI downloads PyPI versions Build codecov CodeFactor Quality License

The collapse package contains utilities for computing symbolic and numerical expressions related to the time evolution of collapsing cosmologies. php

Symbolic Tools

The collapse package makes use of sympy to compute symbolic curvature equations (EFE). Specific Detailsgit

Example Computation: FLRW Cosmology

# Load the predefined FLRW metric
from collapse.symbolic import metric, gravity, utilities
flrw = metric.flrw().subs({'c': 1})
flrw

efe_00 = utilities.clean_expr(gravity.einstein_equation(0, 0, flrw))
efe_00

# Can simplify notation using "dots"
metric.simplify_deriv_notation(efe_00, flrw, use_dots=True)

Copy from pypi.org

查詢時間:8.45ms
渲染時間:8.578ms

本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。github

相關文章
相關標籤/搜索