############################################################################# ## #A toric.gd GUAVA library David Joyner ## ## this file contains declarations for toric codes ## #H @(#)$Id: toric.gd,v 1.1 2003/02/27 22:45:16 gap Exp $ ## Revision.("guava/lib/toric_gd") := "@(#)$Id: toric.gd,v 1.1 2003/02/27 22:45:16 gap Exp $"; ############################################################################# ## #F ToricPoints(,) ## ## returns the points in $(F^*)^n$. ## DeclareGlobalFunction("ToricPoints"); ############################################################################# ## #F ToricCode(,) ## ## This function returns the same toric code as in J. P. Hansen, "Toric ## surfaces and error-correcting codes", except that the polytope can be ## more general This is a truncated RS code. is a list of integral ## vectors (in Hansen's case, is the list of integral vectors in a ## polytope) and is the finite field. The characteristic of must ## be different from 2. ## DeclareGlobalFunction("ToricCode"); ############################################################################# ## #F GeneralizedReedMullerCode(, , ) #F GeneralizedReedMullerCode(, , ) ## ## DeclareOperation("GeneralizedReedMullerCode",[IsList,IsInt,IsField]);