Installation Instructions
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["BowenPing/STensor"]
To load the code after installation, evaluate this code:
Needs["BowenPing`STensor`"]
Examples
Basic Examples (4)
Create a STensor object representing a {2,0} tensor on a two dimensional sphere:
Create a spherical metric tensor:
Calculate the trace of the tensor T:
Or use a overloaded built-in function Tr:
Scope (4)
Typical Tensors Computation (2)
Calculate some typical tensors for metric g:
Check their non-zero components:
Coordinate Transformation (2)
Create a general {1,1} tensor in Cartesian coordinate system:
Transform T's components from 2-D Cartesian coordinates to polar coordinates and simplify by coordinates conditions:
Publisher
Bowen Ping
Disclosures
Compatibility
Wolfram Language Version 13
Version History
MIT License
Paclet Source