```python
# Spacetime algebra. [1, -1, -1, -1] signature

# Make SymPy available to this program:
import sympy 
from sympy import *

# Make GAlgebra available to this program:
from galgebra.ga import *  
from galgebra.mv import *
from galgebra.printer import Fmt, GaPrinter, Format
    # Fmt:       sets the way that a multivector's basis expansion is output.
    # GaPrinter: makes GA output a little more readable.
    # Format:    turns on latex printer.
from galgebra.gprinter import gFormat, gprint
gFormat()
```


```python
txyz = (t, x, y, z) = symbols('t x y z', real=True)
stcoords = (t,x,y,z) = symbols('t x y z')
st = Ga('\mathbf{e}', g=[1, -1, -1, -1], coords=stcoords)
(et, ex, ey, ez) = st.mv()
```


```python
st.mv('X', 'vector')
```


```python

```

f04e2bffe34fad75a48039f3f1a08814c7657b11
ipynb
Jupyter Notebook
python/GeometryAG/gaprimer/Spacetime.ipynb
karng87/nasm_game
a97fdb09459efffc561d2122058c348c93f1dc87
MIT
python/GeometryAG/gaprimer/Spacetime.ipynb
karng87/nasm_game
a97fdb09459efffc561d2122058c348c93f1dc87
MIT
python/GeometryAG/gaprimer/Spacetime.ipynb
karng87/nasm_game
a97fdb09459efffc561d2122058c348c93f1dc87
MIT
Qwen/Qwen-72B
1. YES
2. YES