Max Alekseyev on Wed, 01 Dec 2010 03:42:55 +0100


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

Re: getting x,y values from Mod(x,y)


a.mod or component(a,1) will do the job.

Regards,
Max

On Tue, Nov 30, 2010 at 4:46 PM, Andrew P <poserp@sbcglobal.net> wrote:
>
> Just curious, if I have a variable of type Mod(x,y), how do I retrieve the
> values for x and y for use in other calculations? Thanks!
>
> Â Â-Andrew P-
>
> Edit: I figured out how to get the x value (if a = Mod(7,16), then lift(a)
> returns 7, or the value of x) but still don't know how to retrieve the y
> value.
> --
> View this message in context: http://old.nabble.com/getting-x%2Cy-values-from-Mod%28x%2Cy%29-tp30343882p30343882.html
> Sent from the cr.yp.to - pari-users mailing list archive at Nabble.com.
>
>