X-Git-Url: http://gitweb.michael.orlitzky.com/?p=sage.d.git;a=blobdiff_plain;f=mjo%2Feja%2Feja_cache.py;h=81ea398a5060220e557ac1620f1a4c0de91a9772;hp=b5743ec94892a74f0d3914cf8dc639993008505e;hb=HEAD;hpb=e6bb7aba7677a04c3aaa4d1fdd9dd45185db2067 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.