Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

STensor

Guides

  • Get Started

Tech Notes

  • Basic Tensor Computation
  • ComputationWithMetric

Symbols

  • ChristoffelSymbol
  • CreateTensor
  • EinsteinTensor
  • Inverse
  • IsMetric
  • LineElement
  • RicciScalar
  • RicciTensor
  • RiemannTensor
  • SCoordinateTransform
  • STensor
  • STensorQ
  • Symmetrize
  • TensorRank
  • TensorSymmetry
  • Tr
  • VolumeElement
  • WeylTensor
BowenPing`STensor`
ChristoffelSymbol
​
ChristoffelSymbol[metric]
returns the Christoffel Symbol of metric.
​
​
ChristoffelSymbol[array,crds]
given components array of metric and coordinate system crds, returns its Christoffel Symbol.
​
Details and Options

Examples  
(4)
Basic Examples  
(1)
Create a metric tensor of 2D sphere first:
In[1]:=
g=
CreateTensor
"g",{0,2},{θ,ϕ},DiagonalMatrix[{R^2,R^2Sin[θ]^2}],
IsMetric
True
Out[1]=
STensor
Symbol: g
Rank: {0,2}

Calculate the Christoffel symbol:
In[2]:=
ChristoffelSymbol
[g]
Out[2]=
STensor
Symbol: Γ(g)
Rank: {1,2}

The result can be directly used in calculation:
In[3]:=
ChristoffelSymbol
[g]["a","bc"]g["ad"]
Out[3]=
STensor
Symbol: g Γ(g)
Rank: {0,3}
[,bcd]
Scope  
(1)

Properties & Relations  
(1)

Possible Issues  
(1)

SeeAlso
RiemannTensor
RelatedGuides
▪
Get Started
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com