]> gitweb.michael.orlitzky.com - sage.d.git/commit - mjo/eja/eja_algebra.py
eja: add "normalize" argument to matrix algebra constructors.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 21 Aug 2019 14:50:55 +0000 (10:50 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 21 Aug 2019 14:50:55 +0000 (10:50 -0400)
commit9bcc10b6362a5390735bbbf4ef8351b150847359
treef003a969eb22bf358c005e46ea7db195ce61669e
parente776b06ba3e77214bf670043bbff81148891b195
eja: add "normalize" argument to matrix algebra constructors.

This is useful for two reasons:

  1. It's nice to be able to test that some things are invariant
     under changes of basis.

  2. The min/charpoly computations will be a lot faster if we
     can use the basis over QQ (i.e. if the properties that we're
     testing in the first item hold).
mjo/eja/eja_algebra.py