<jupyter_start><jupyter_text>Just some random stuff from the interwebs ...<jupyter_code>import sympy
from sympy.galgebra.ga import *
sympy.init_printing()
Format(ipy=True)
def MVlatex(mv, *args) :
    mv.base_to_blade()
    return '$$'+str(mv).replace(r'\W', r'\wedge').replace(r'\bm', r'\boldsymbol').replace(r'\lp',r'\left(').replace(r'\rp',r'\right)')+'$$'
MV._repr_latex_ = MVlatex
metric = '1 0 0, 0 1 0, 0 0 1'
gamma_x, gamma_y, gamma_z = MV.setup('gamma_x gamma_y gamma_z', metric)
gamma_x ^ gamma_y
3 * gamma_x * gamma_y / 2 + (gamma_z ^ gamma_x)
a, b, c, d, e = MV.setup('a b c d e')
e|(a^b)
a|b^c
a|b^c^d
a|b^c^d^e<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.20030581039755352, 'fraction_numerical': 0.016819571865443424, 'mean_word_length': 5.179245283018868, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '439492', 'license': 'CC0-1.0', 'n_tokens_mistral': 319, 'n_tokens_neox': 295, 'n_words': 63, 'path': 'sympy/sympy_geometric_algebra.ipynb', 'repo_name': 'mgeier/python-audio', 'size': '654'}