X-Git-Url: http://gitweb.michael.orlitzky.com/?p=sage.d.git;a=blobdiff_plain;f=mjo%2Feja%2Feja_element.py;h=6a48309499bce637cd039d4c8631ce451f890ff1;hp=ff25b82073a85f9b2f92301d69f37455f231f5ea;hb=8229a82cd111c9b2cff401de3c01a41a1ea5771a;hpb=a46720db62543983ab375654dee211ca844ac46c diff --git a/mjo/eja/eja_element.py b/mjo/eja/eja_element.py index ff25b82..6a48309 100644 --- a/mjo/eja/eja_element.py +++ b/mjo/eja/eja_element.py @@ -1111,14 +1111,11 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement): sage: J.one() b0 + b5 sage: J.one().to_matrix() - [1 0 0 0 0 0 0 0] - [0 1 0 0 0 0 0 0] - [0 0 1 0 0 0 0 0] - [0 0 0 1 0 0 0 0] - [0 0 0 0 1 0 0 0] - [0 0 0 0 0 1 0 0] - [0 0 0 0 0 0 1 0] - [0 0 0 0 0 0 0 1] + +---+---+ + | 1 | 0 | + +---+---+ + | 0 | 1 | + +---+---+ This also works in Cartesian product algebras::