Max Alekseyev on Fri, 23 May 2008 09:19:21 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: type convertion


There are such functions:

? x=Mod(10,4)
%1 = Mod(2, 4)
? lift(x)
%2 = 2
? component(x,1)
%3 = 4
? x.mod
%4 = 4

Regards,
Max

On Thu, May 22, 2008 at 11:32 PM, John Patrick Gerdeman
<j_gerdem@informatik.uni-kl.de> wrote:
> As far as I know there is no way to get either element from an INTMOD.
> But you could use %
>
> ?Mod(10,4)
> %1 = Mod(2, 4)
> ?10%4
> %2 = 2
>
> I hope this helps.
>
> John
>
> Am Freitag, den 23.05.2008, 09:12 +0300 schrieb Kostas Patsakis:
>> Is it possible to convert from INTMOD to integers?
>>
>> Thanks in advance,
>> Costas
>>
>>
>
>