X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Feja%2Feja_cache.py;h=81ea398a5060220e557ac1620f1a4c0de91a9772;hb=8fd6cc17cd935e5537bcea3aed8892c3ca65b40d;hp=b5743ec94892a74f0d3914cf8dc639993008505e;hpb=95bac72b9d6731b0cdaafc89a839972d8544512f;p=sage.d.git diff --git a/mjo/eja/eja_cache.py b/mjo/eja/eja_cache.py index b5743ec..81ea398 100644 --- a/mjo/eja/eja_cache.py +++ b/mjo/eja/eja_cache.py @@ -5,8 +5,10 @@ sense to cache them and then only test that the cached values are correct every once in a while. And they're in this separate file because they are visually horrific. -The function used to turn SageMath's output into the appropriate input -can be found in the eja_utils module. +SageMath's output can be converted back into "input form" using a sed +script, for example: + + $ sed -e 's/\^/\*\*/g' -e 's/X\([0-9][0-9]*\)/X\[\1\]/g' The simple algebras _not_ represented here all have rank two or less, and are "easy" to compute even over the algebraic reals.