X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Feja%2Feja_operator.py;fp=mjo%2Feja%2Feja_operator.py;h=cc1c5e0c4fc401c63628bafa85193fbcd8be470b;hb=7dcaaf6002d77f4362a60eed0ac7c610666b693c;hp=c32ff1ed7c2ba0aa87c842e5545f9bf204f43fac;hpb=b3f3ddace19a822cf7df349fee1791830265e875;p=sage.d.git diff --git a/mjo/eja/eja_operator.py b/mjo/eja/eja_operator.py index c32ff1e..cc1c5e0 100644 --- a/mjo/eja/eja_operator.py +++ b/mjo/eja/eja_operator.py @@ -443,8 +443,28 @@ class FiniteDimensionalEuclideanJordanAlgebraOperator(Map): sage: x = sum(J.gens()) sage: A = x.subalgebra_generated_by(orthonormalize_basis=True) sage: L0x = A(x).operator() - sage: Ps = [ P*l for (l,P) in L0x.spectral_decomposition() ] - sage: Ps[0] + Ps[1] == L0x + sage: sd = L0x.spectral_decomposition() + sage: l0 = sd[0][0] + sage: l1 = sd[1][0] + sage: P0 = sd[0][1] + sage: P1 = sd[1][1] + sage: P0*l0 + P1*l1 == L0x + True + sage: P0 + P1 == P0^0 # the identity + True + sage: P0^2 == P0 + True + sage: P1^2 == P1 + True + sage: c0 = P0(A.one()) + sage: c1 = P1(A.one()) + sage: c0.inner_product(c1) == 0 + True + sage: c0 + c1 == A.one() + True + sage: c0.is_idempotent() + True + sage: c1.is_idempotent() True """