
Exact algebra: Jordan form, Galois groups, shunting yard
Source:R/ExactAlgebra.R
JordanCanonical.RdJordanCanonical: Jordan canonical form A = P J P^-1 of an integer
matrix with integer spectrum in exact (rational) arithmetic: characteristic
polynomial by Faddeev-LeVerrier, integer roots by the rational-root
theorem, block counts from rank N^(k-1) - rank N^k and Jordan chains grown
from the longest blocks down. GaloisGroup: Galois group over Q of an
integer polynomial of degree 1 to 4 (Kappe-Warren test for quartics).
ShuntingYard: Dijkstra's infix to reverse Polish conversion and
evaluation. Identical to the Python arm morie.fn.symalg; exact
while the integers involved stay below 2^53.
Value
List. JordanCanonical: J, P, blocks (eigenvalue, size), charpoly, eigenvalues. GaloisGroup: group, order, degree, monic, discriminant, resolvent and roots or factors. ShuntingYard: rpn, value, tokens.
References
Horn, R. A. and Johnson, C. R. (2013). Matrix Analysis, 2nd edn. Cambridge University Press.
Kappe, L.-C. and Warren, B. (1989). An elementary test for the Galois group of a quartic polynomial. American Mathematical Monthly 96, 133-137.
Dijkstra, E. W. (1961). Algol 60 translation. Mathematisch Centrum report MR 35/61, Amsterdam.