Forget about this. I was using the wrong sage to do the doctests.
Sorry for the noise.
On May 27, 3:14 am, Michel <[EMAIL PROTECTED]> wrote:
> In the doctests of the file fraction_field_cache.py (something I
> wrote) I have
>
> from sage.rings.fraction_field_cache import FractionField_cache
>
> T
In the doctests of the file fraction_field_cache.py (something I
wrote) I have
from sage.rings.fraction_field_cache import FractionField_cache
This works from the command line but fails as a doctest. Sage -t
complains
about ImportError: No module named fraction_field_cache.
What is going on? Am
On May 26, 2007, at 5:07 PM, Nick Alexander wrote:
> I seem to recall that Python's __divmod__ semantics are not
> mathematically friendly, but maybe that is just C's semantics?
> Perhaps someone who knows more should clarify?
H there seems to be some weirdness when the divisor d is
negat
"William Stein" <[EMAIL PROTECTED]> writes:
> On 5/26/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
>> On May 26, 2007, at 8:19 AM, Pablo De Napoli wrote:
>> > in standard iPython:
>> >
>> > In [1]: divmod(2,3)
>> > Out[1]: (0, 2)
>> >
>> > Would it better to use the standard name divmod for thi
On 5/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote:
>
> Could someone make a lot of screenshots of SAGE doing different things?
Good idea. Maybe in this thread we could suggest a list of "things"
SAGE could do that would make good screenshot material. Once we
have that list, somebody could ju
Could someone make a lot of screenshots of SAGE doing different things?
On 5/26/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
>
> Yes, I these pages are important. I was thinking specifically in
> terms of this is where people go to get university-available math
> software, listed alongside, e.g
Sorry,
I had no intention to give a negative impression about sage! In fact I
think it is great!
Thanks for fixing this.
Michel
On May 26, 6:42 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On 5/26/07, Michel <[EMAIL PROTECTED]> wrote:
>
>
>
> > sage: z=QQ['z'].gen()
> > sage: W=NumberField(
On 5/25/07, Justin C. Walker <[EMAIL PROTECTED]> wrote:
> Seems to work fine (I retrieved 23:37 version). One immediate
> comment: it pollutes the console log. The console log is a good
> debugging aid, but if it's littered with SAGE "GET" logs, it is tough
> to read through and pick out real pr
On 5/26/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
> On May 26, 2007, at 8:19 AM, Pablo De Napoli wrote:
> > in standard iPython:
> >
> > In [1]: divmod(2,3)
> > Out[1]: (0, 2)
> >
> > Would it better to use the standard name divmod for this operator [by
> > defining a method __divmod__] (or ot
Yes, I these pages are important. I was thinking specifically in
terms of this is where people go to get university-available math
software, listed alongside, e.g., Maple, Mathematica, etc. for
download. I have sent our institution an email, and was wondering if
other universities have sim
On 5/25/07, Nick Alexander <[EMAIL PROTECTED]> wrote:
> > This has been suggested on sage-devel about 3 times now.
>
> So not only do I have no memory...
Actually, it's probably only been mentioned once since you've
been involved in SAGE.
> There
> > is no reason not do it, except nobody has st
On May 26, 2007, at 8:19 AM, Pablo De Napoli wrote:
> Hi,
>
> I see that sage has a method for computing the quotient and reminder
> of the integer
> division called "quo_rem" (in integer.pyx)
> However, there exist a standard operator in python call divmod: in
> sage divmod does
> not work as on
See line around line 980 of element.pyx (which Robert Bradshaw wrote,
by the way):
> def __pow__(self, nn, dummy):
> """
> Return the (integral) power of self.
> """
> cdef int cn
>
> n = int(nn)
> if n != nn:
> raise NotImplementedE
On 5/26/07, Michel <[EMAIL PROTECTED]> wrote:
>
> sage: z=QQ['z'].gen()
> sage: W=NumberField(z^2+1,'s')
> sage: Q.=W[]
> sage: W1=FractionField(Q)
> sage: S.=W1[]
> sage: L=FractionField(S)
> sage: L(u)
> x
>
> What's going on?
The coercion *model* in SAGE is sound; we thought it through
carefull
On May 26, 2007, at 5:30 AM, Michel wrote:
>> Now what I really want to know.
>>
>
> Sorry I hit send to quickly. I would like to know if there is a
> genuine implemetation generic_power (pyrex)
> somewhere in the source.
I don't think it's being used. Ring elements (and other elements with
mu
Coercion in sage really seems very brittle
sage: z=QQ['z'].gen()
sage: W=NumberField(z^2+1,'s')
sage: Q.=W[]
sage: W1=FractionField(Q)
sage: S.=W1[]
sage: L=FractionField(S)
sage: L(u)
x
What's going on?
x+u gives an exception although it seems natural there should be a
canonical coercion f
On May 26, 2007, at 11:06 AM, Michel wrote:
> Hendrik Hubrechts (a student of Jan Denef) has a new algorithm for
> counting points on elliptic curve and hyperelliptic curves over a
> field GF(p^n) with p small and n large. It seems to be very fast. This
> is perhaps something for inclusion into
Hi,
I see that sage has a method for computing the quotient and reminder
of the integer
division called "quo_rem" (in integer.pyx)
However, there exist a standard operator in python call divmod: in
sage divmod does
not work as one would expect.
sage: ZZ(2).quo_rem(ZZ(3))
(0, 2)
sage: divmod(ZZ(
Hendrik Hubrechts (a student of Jan Denef) has a new algorithm for
counting points on elliptic curve and hyperelliptic curves over a
field GF(p^n) with p small and n large. It seems to be very fast. This
is perhaps something for inclusion into sage? See
http://wis.kuleuven.be/algebra/hubrechts/
> Now what I really want to know.
>
Sorry I hit send to quickly. I would like to know if there is a
genuine implemetation generic_power (pyrex)
somewhere in the source.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To un
Consider
sage: from sage.structure.element import generic_power as
generic_power
sage: generic_power(2,3)
4
sage: generic_power(3,2)
27
sage: generic_power(3,4)
27
I assume that this function is no longer used but then it should
perhaps be removed from
the source!
Now what I really want to know
On May 26, 9:05 am, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> We should try and get SAGE in the list at
>
> https://www.washington.edu/uware/list-software.html
>
> I wonder if other universities have similar pages.
There is also the "Oberwolfach References on Mathematical Software"
where SAG
We should try and get SAGE in the list at
https://www.washington.edu/uware/list-software.html
I wonder if other universities have similar pages.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group
23 matches
Mail list logo