jordan_product,
inner_product,
field=field,
+ matrix_space=superalgebra.matrix_space(),
prefix=prefix,
**kwargs)
return super()._element_constructor_(elt)
-
- def matrix_space(self):
- """
- Return the matrix space of this algebra, which is identical to
- that of its superalgebra.
-
- This is correct "by definition," and avoids a mismatch when
- the subalgebra is trivial (with no matrix basis elements to
- infer anything from) and the parent is not.
- """
- return self.superalgebra().matrix_space()
-
-
def superalgebra(self):
"""
Return the superalgebra that this algebra was generated from.