SETUP::
- sage: from mjo.clan.unital_clan import SnClan
+ sage: from mjo.clan.unital_clan import SnClan, VinbergClan
EXAMPLES:
sage: phi(X).D(2)
8
+ In the Vinberg clan (Ishi, p. 169) we see that the composite
+ determinant is the product of the determinants of the two
+ matrices that make up an element. Our results agree with
+ that::
+
+ sage: C = VinbergClan()
+ sage: A = matrix(QQ, [ [2, 1],
+ ....: [1, 4] ])
+ sage: B = matrix(QQ, [ [2, 2],
+ ....: [2,-1] ])
+ sage: A.det()
+ 7
+ sage: B.det()
+ -6
+ sage: x = C.from_matrices(A, B)
+ sage: x.D(C.rank() - 1)
+ -42
+
"""
# The sum() hijinks avoid needing to know what the third
# coordinate is.