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`
VolumeElement
​
VolumeElement
[metric]
returns the volume element of metric.
​
Details and Options

Examples  
(4)
Basic Examples  
(1)
Given a metric, VolumeElement returns corresponding volume element in the coordinate system:
In[1]:=
g=
CreateTensor
"g",{0,2},{r,θ,ϕ},DiagonalMatrix[{1,r^2,r^2Sin[θ]^2}],
IsMetric
True;​​
VolumeElement
[g]
Out[1]=
STensor
Symbol: ϵ(g)
Rank: {0,3}

Volume Element is a tensor can used in computation directly:
In[2]:=
VolumeElement
[g]["abc"]
Inverse
[g]["ab"]
Out[2]=
STensor
Symbol: g ϵ(g)
Rank: {0,1}
[c]
Properties & Relations  
(3)

SeeAlso
LineElement
 
▪
IsMetric
RelatedGuides
▪
Get Started
""

© 2025 Wolfram. All rights reserved.

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