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

GeometricAlgebra

Guides

  • Dual numbers
  • Geometric Algebra
  • Matrix Gateway

Tech Notes

  • Conformal Geometry
  • Dual numbers
  • Geometric Numbers
  • Matrix Gateway
  • Operator Duality
  • Projective Geometry
  • Spinors

Symbols

  • ConvertGeometricAlgebra
  • GeometricAlgebra
  • GeometricProduct
  • Grade
  • Multivector
Wolfram`GeometricAlgebra`
GeometricAlgebra
​
GeometricAlgebra
[p,q]
gives an underlying algebra object for use with
Multivector
with
p
vectors squaring to 1 and
q
vectors squaring to -1.
​
​
GeometricAlgebra
[p,q,r]
include
r
null vectors squaring to 0.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Represent a Geometric Algebra with
(3,1)
signature:
In[1]:=
GeometricAlgebra
[{3,1}]
Out[1]=

3,1
Represent a Geometric Algebra with
(1,2,3)
signature:
In[2]:=
GeometricAlgebra
[{1,2,3}]
Out[2]=

1,2,3
Specify custom formatting for the algebra:
In[3]:=
GeometricAlgebra
[{1,3},"Format"""]
Out[3]=

Specify formatting for specific basis vectors as a list of rules:
In[4]:=
Multivector
{0,3,4,5},
GeometricAlgebra
[{3,1},"FormatIndex"{{1}"x",{2}"y"}]​​
Out[4]=
3x+4y+5
e
3
Specify formatting for specific basis vectors as a function:
In[5]:=
Multivector
Range[16],
GeometricAlgebra
[{3,1},"FormatIndex"Function[Switch[#,{},"",{_,_,_,_},"ℐ",_,Subscript["e",Row[#]]]]]​​
Out[5]=
1+2
e
1
+3
e
2
+4
e
3
+5
e
-1
+6
e
12
+7
e
13
+8
e
1-1
+9
e
23
+10
e
2-1
+11
e
3-1
+12
e
123
+13
e
12-1
+14
e
13-1
+15
e
23-1
+16ℐ
Provide arbitrary potentially incomplete ordering of indices for displaying basis elements:
In[6]:=
Multivector
Range[8],
GeometricAlgebra
[{3},"Ordering"{{3},{2},{3,2,1},{2,3}}]​​
Out[6]=
4
e
3
+3
e
2
+(-8)
e
321
+7
e
23
Custom basis matrix for vectors modifies multiplication table of the geometric product:
In[7]:=
GeometricAlgebra
[{2},"VectorBasis"{{1,2},{3,4}}]["MetricMultiplicationTable"]
Out[7]=
SeeAlso
Multivector
▪
MultivectorArray
▪
ConvertGeometricAlgebra
RelatedGuides
▪
Geometric Algebra
""

© 2025 Wolfram. All rights reserved.

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