loops/gap/convert.gd
2017-10-16 21:43:09 +02:00

21 lines
981 B
GDScript3

############################################################################
##
#W convert.gd Converting between numerical bases [loops]
##
#H @(#)$Id: convert.gd, v 3.3.0 2016/10/19 gap Exp $
##
#Y Copyright (C) 2004, G. P. Nagy (University of Szeged, Hungary),
#Y P. Vojtechovsky (University of Denver, USA)
##
# auxiliary
DeclareOperation( "LOOPS_DigitToChar", [ IsInt ] );
DeclareOperation( "LOOPS_CharToDigit", [ IsChar ] );
DeclareOperation( "LOOPS_EncodeCayleyTable", [ IsList ] );
DeclareOperation( "LOOPS_DecodeCayleyTable", [ IsString ] );
DeclareOperation( "LOOPS_ConvertToDecimal", [ IsString, IsInt ] );
DeclareGlobalFunction( "LOOPS_ConvertFromDecimal" ); # has variable number of arguments
DeclareGlobalFunction( "LOOPS_ConvertBase" ); # has variable number of arguments
DeclareOperation( "LOOPS_EncodeCocycle", [ IsList, IsList ] );
DeclareOperation( "LOOPS_DecodeCocycle", [ IsList, IsList ] );