]> gitweb.michael.orlitzky.com - sage.d.git/commit
mjo/clan/clan_element.py: add norm methods
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 27 Mar 2026 00:56:17 +0000 (20:56 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 27 Mar 2026 00:56:17 +0000 (20:56 -0400)
commit9d08ce4003d8e1d46af79e0ecf1d926386dff81e
tree42f70ebc12ca2198bf115885d22457ec1388289d
parent9a86d6e3f547246988a83414881d4bdcf8d04389
mjo/clan/clan_element.py: add norm methods

For convenience, define norm() and norm_vinberg() in terms of the
corresponding inner product methods. This will usually involve a
sqrt(), and I have not thought very hard about how to handle that
intelligently.
mjo/clan/clan_element.py