Skip to content

ConnorKenyon/GRTensors

Repository files navigation

GRTensors

GRTensors is a python package designed for symbolic tensor-based calculations. The primary design is for General Relativity, however the framework is broadly applicable to all fields that require tensor computations.

>>> import GRTensors as grt
>>> import sympy
>>> 
>>> mu, nu = grt.make_index(r"\mu \nu")
>>> 
>>> # Metric for a unit radius 2-sphere
>>> theta, phi = sympy.symbols(r"\theta \phi")
>>> g_mn = grt.GRMetric([mu,nu], [[1, 0],[0,sympy.sin(theta)**2]])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published