ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Jun 2013 11:11:25 +0200Pari source codehttps://ask.sagemath.org/question/10189/pari-source-code/I'm terribly sorry for asking such a basis question, but can anyone tell me I may be able to find an online access to PARI source code similar to the one we have for sage?
http://hg.sagemath.org/sage-main/src/1077314f4166?at=default
If there isn't one, is there an easy way to view the source code?Tue, 04 Jun 2013 13:06:39 +0200https://ask.sagemath.org/question/10189/pari-source-code/Answer by Volker Braun for <p>I'm terribly sorry for asking such a basis question, but can anyone tell me I may be able to find an online access to PARI source code similar to the one we have for sage?</p>
<p><a href="http://hg.sagemath.org/sage-main/src/1077314f4166?at=default">http://hg.sagemath.org/sage-main/src/...</a></p>
<p>If there isn't one, is there an easy way to view the source code?</p>
https://ask.sagemath.org/question/10189/pari-source-code/?answer=15023#post-id-15023I don't think that Pari has an online repo, you need to download the tarball.Tue, 04 Jun 2013 13:15:01 +0200https://ask.sagemath.org/question/10189/pari-source-code/?answer=15023#post-id-15023Answer by tmonteil for <p>I'm terribly sorry for asking such a basis question, but can anyone tell me I may be able to find an online access to PARI source code similar to the one we have for sage?</p>
<p><a href="http://hg.sagemath.org/sage-main/src/1077314f4166?at=default">http://hg.sagemath.org/sage-main/src/...</a></p>
<p>If there isn't one, is there an easy way to view the source code?</p>
https://ask.sagemath.org/question/10189/pari-source-code/?answer=15024#post-id-15024You can browse the pari source code on [this page](http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=tree).
However, this is not hard to get it using git, as explained on [that page](http://pari.math.u-bordeaux.fr/anongit.html), it will then be easier to search inside the code.
Tue, 04 Jun 2013 14:10:15 +0200https://ask.sagemath.org/question/10189/pari-source-code/?answer=15024#post-id-15024Comment by Blackadder for <p>You can browse the pari source code on <a href="http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=tree">this page</a>.</p>
<p>However, this is not hard to get it using git, as explained on <a href="http://pari.math.u-bordeaux.fr/anongit.html">that page</a>, it will then be easier to search inside the code.</p>
https://ask.sagemath.org/question/10189/pari-source-code/?comment=17568#post-id-17568Thank you so much, you are wonderful!Wed, 05 Jun 2013 11:11:25 +0200https://ask.sagemath.org/question/10189/pari-source-code/?comment=17568#post-id-17568Comment by tmonteil for <p>You can browse the pari source code on <a href="http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=tree">this page</a>.</p>
<p>However, this is not hard to get it using git, as explained on <a href="http://pari.math.u-bordeaux.fr/anongit.html">that page</a>, it will then be easier to search inside the code.</p>
https://ask.sagemath.org/question/10189/pari-source-code/?comment=17569#post-id-17569You can look at `src/basemath/elliptic.c`, the function named `ellheight0`.Wed, 05 Jun 2013 11:07:21 +0200https://ask.sagemath.org/question/10189/pari-source-code/?comment=17569#post-id-17569Comment by Blackadder for <p>You can browse the pari source code on <a href="http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=tree">this page</a>.</p>
<p>However, this is not hard to get it using git, as explained on <a href="http://pari.math.u-bordeaux.fr/anongit.html">that page</a>, it will then be easier to search inside the code.</p>
https://ask.sagemath.org/question/10189/pari-source-code/?comment=17570#post-id-17570Thanks for the help, that was incredibly helpful. One more question though, I was trying to see how sage computes heights in elliptic curves, I realised that it calls the pari height function ellheight. Now, I can't seem to find the actual code for ellheight. I managed to wander into /src/functions/elliptic_curves and then tried clicking on everything related to ellheight to no avail. Wonder if you could help me once again. Sorry for being such a pain. Thanks!Wed, 05 Jun 2013 06:16:36 +0200https://ask.sagemath.org/question/10189/pari-source-code/?comment=17570#post-id-17570