from sage.all import *
+def eja_minimal_polynomial(x):
+ """
+ Return the minimal polynomial of ``x`` in its parent EJA
+ """
+ return x._x.matrix().minimal_polynomial()
+
+
def eja_rn(dimension, field=QQ):
"""
Return the Euclidean Jordan Algebra corresponding to the set