- # Now that everything else is ready, we clobber our computed
- # matrix basis with the "correct" one consisting of ordered
- # tuples. Since we didn't orthonormalize our basis, we can
- # create these from the basis that was handed to us; that is,
- # we don't need to use the one that the earlier __init__()
- # method came up with.
- m = len(self.cartesian_factors())
- MS = self.matrix_space()
- self._matrix_basis = tuple(
- MS(tuple( self.cartesian_projection(i)(b).to_matrix()
- for i in range(m) ))
- for b in self.basis()
- )
-