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)
|
- To: Andrew P <poserp@sbcglobal.net>
- Subject: Re: getting x,y values from Mod(x,y)
- From: Max Alekseyev <maxale@gmail.com>
- Date: Tue, 30 Nov 2010 21:41:04 -0500
- Cc: pari-users@list.cr.yp.to
- Delivery-date: Wed, 01 Dec 2010 03:42:55 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Cc4r22AS/z/qOtPX1byVZHQKzq1eAJmk5TkQ65uhHvQ=; b=Fcl0heoapYjMWcSDdnE4C4LWTXy+itItwd9txggkQXtimjiPQpzBj7iwU52K37y30J S52R0scLDmoAqRsz6qJ2KYPNg7NG3jlHeq16QuZ+DTK8VVW8TfTc3sKLMP1lCmCpGPGO 5ejKnfsKBBZenh73g2zTIYv40GtttNQMvizfY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s8drh2Ih0EzK4pH2e5+lKN8JYGNV6TE4zi0Uxs5D1cip2EK8e2Ve6ZEReWdJ5UXbMw Z+ucAIy23mla3shftv0MPnDI8zY1RMRN7Ye1mWlVq1A/FwIDc2jMw4h3DiRIcJbXXonD 8tc82gySF5aPzQJCeMOtr9z/P0M8r95H/esns=
- In-reply-to: <30343882.post@talk.nabble.com>
- Mailing-list: contact pari-users-help@list.cr.yp.to; run by ezmlm
- References: <30343882.post@talk.nabble.com>
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.
>
>