the same as its matrix representation in the superalgebra::
sage: set_random_seed()
- sage: A = random_eja().random_element().subalgebra_generated_by()
+ sage: x = random_eja(field=QQ).random_element()
+ sage: A = x.subalgebra_generated_by(orthonormalize=False)
sage: y = A.random_element()
sage: actual = y.to_matrix()
sage: expected = y.superalgebra_element().to_matrix()
sage: set_random_seed()
sage: x = random_eja(field=AA).random_element()
- sage: A = x.subalgebra_generated_by(orthonormalize_basis=True)
+ sage: A = x.subalgebra_generated_by(orthonormalize=True)
sage: y = A.random_element()
sage: y.operator()(A.one()) == y
True