Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
DiracMatrix
Guides
DiracMatrix
Symbols
CliffordBasis
CliffordCanonicalBasis
EuclideanGammaMatrices
FlatMetric
GammaMatrices
MetricVielbein
NumericZeroQ
RandomCurvedMetric
ToDiracBasis
ToWeylBasis
WolframQuantumComputation`DiracMatrix`
F
l
a
t
M
e
t
r
i
c
F
l
a
t
M
e
t
r
i
c
[
p
,
q
]
r
e
t
u
r
n
s
t
h
e
d
i
a
g
o
n
a
l
f
l
a
t
m
e
t
r
i
c
o
f
s
i
g
n
a
t
u
r
e
(
p
,
q
)
w
i
t
h
p
p
o
s
i
t
i
v
e
(
+
1
)
a
n
d
q
n
e
g
a
t
i
v
e
(
-
1
)
d
i
a
g
o
n
a
l
e
n
t
r
i
e
s
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
6
)
Basic Examples
(
1
)
The Minkowski metric in mostly-minus convention (1 time, 3 space):
I
n
[
1
]
:
=
F
l
a
t
M
e
t
r
i
c
[
1
,
3
]
/
/
M
a
t
r
i
x
F
o
r
m
O
u
t
[
1
]
=
1
0
0
0
0
-
1
0
0
0
0
-
1
0
0
0
0
-
1
A four-dimensional Euclidean signature has no minus signs:
I
n
[
2
]
:
=
F
l
a
t
M
e
t
r
i
c
[
4
,
0
]
/
/
M
a
t
r
i
x
F
o
r
m
O
u
t
[
2
]
=
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
S
c
o
p
e
(
2
)
A
p
p
l
i
c
a
t
i
o
n
s
(
1
)
P
o
s
s
i
b
l
e
I
s
s
u
e
s
(
1
)
N
e
a
t
E
x
a
m
p
l
e
s
(
1
)
S
e
e
A
l
s
o
R
a
n
d
o
m
C
u
r
v
e
d
M
e
t
r
i
c
▪
M
e
t
r
i
c
V
i
e
l
b
e
i
n
▪
G
a
m
m
a
M
a
t
r
i
c
e
s
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
D
i
r
a
c
M
a
t
r
i
x
"
"