[sage-support] Bug report: Kernel dies after 1 hour while dividing polynomials

2018-02-09 Thread Nicolas M. Thiery
Posting on behalf of Paul Zimmermann: > The workaround is not to create the quotient ring. > It is better to work in polynomial rings and to use the "lift" command > directly in Sage. note that this is discussed in detail in Chapter 9 of the book "Mathematical Computation with SageMath"

[sage-support] Re: Sage Crash Report

2017-10-11 Thread Nicolas Dero Miralles
Thanks Dima for your help. I successfully installed libgfortan however when compiling SageMath a new error appears in the crash report : ImportError: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/nicolas/SageMath/local/lib/libntl.so.33) Could

[sage-support] Fwd: Sage Crash Report

2017-10-10 Thread Nicolas De Ro Miralles
in the file named: '/home/nicolas/.sage/ipython-5.0.0/Sage_crash_report.txt' If you can email this file to the developers, the information in it will help them in understanding and correcting the problem. You can mail it to: sage-support at sage-support@googlegroups.com with the subject 'Sage Crash

[sage-support] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-06-01 Thread Nicolas M. Thiery
;dot2tex") # <== sage: view(G) Cheers, Nicolas -- Nicolas M. Thiéry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this gro

[sage-support] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-05-31 Thread Nicolas M. Thiery
} sage: view(G) **boom** So I suspect that either that error went undetected for a long time, or it comes from a change in tikz which makes the above code more fragile. Anyone a suggestion on how to tweak the above output to make it robust? Cheers, Nicolas On Wed

[sage-support] Re: [sage-combinat-devel] Re: Crystals not displaying

2017-05-31 Thread Nicolas M. Thiery
oogle.com/group/sage-combinat-devel. >For more options, visit [4]https://groups.google.com/d/optout. > > References > >1. mailto:sage-combinat-devel+unsubscr...@googlegroups.com >2. mailto:sage-combinat-de...@googlegroups.com > 3. https://groups.google.com/gro

[sage-support] Spurious legend item

2015-06-16 Thread Nicolas Mascot
+=E.base_extend(S[0]).plot(color=red,legend_label=str(exp(1.))) X the legend appears twice (tried with 6.4.1, 6.6, 6.7). Is it a bug ? Best regards, Nicolas Mascot -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Re: BUG - Sage Version 6.3, Release Date: 2014-08-10

2014-11-05 Thread Nicolas M . Thiéry
For the record, my students got this error a couple times, on a relatively recent Ubuntu, with Sage 6.3, probably recompiled on site. Usually, this is due to Sage dying brutally (typically when they close the terminal where they launched the notebook). Removing the corrupted empty users.pickle

[sage-support] Instruction on how to use Sage with Eclipse and PyDev

2011-12-16 Thread Nicolas Essis-Breton
I'm just beginning to use this setup. Maybe, there are are some hidden limitations. I assume you have a working installation of eclipse, PyDev and Sage. Do this in eclipse: 1- set PyDev python interpreter to Sage windows: preferences: PyDev: Interpreter Python: new: /sage/local/bin/

[sage-support] Solving a non linear inequality

2011-10-28 Thread Nicolas Essis-Breton
How can I ask Sage to solve the following non linear inequality $$\sum_\limits_{i=1}^{n}a_{i}u^{sum_\limits_{j=1}^{i}y_j} c$$ $$y_j in \{0,1\}, j=1,2,\dots,n$$ $$a_i \in \mathbd{R}, i=1,2,\dots,n$$ $$n \in \mathbd{N}, u0, c 0$$ where the $y_j$ are variable and all other terms constant. I'm new

[sage-support] How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-05-28 Thread Nicolas
of just get the pdf that is produced by the command line. Has this been thought of ? Is this possible ? Thanks to all Nicolas PS: the reason I would like to get this PDF is to just save it from the notebook and send it to a friend ! I am terribly lazy but I do not want to retype all using

[sage-support] Can't plot a Bessel function

2010-03-11 Thread Nicolas
Strange plot behavior : I would like to just plot a Bessel function Am I doing anything wrong ? (I tried to plot it through an iterator and a list plot... works ok but unhandy with sagetex) sage: plot(bessel_J(1,x),(x,0,10))

[sage-support] Re: Can't plot a Bessel function

2010-03-11 Thread Nicolas
Sorry... I found that this was already answered and works through a lambda function trick On 11 mar, 16:24, Nicolas nicolas.fresseng...@gmail.com wrote: Strange plot behavior : I would like to just plot a Bessel function Am I doing anything wrong ? (I tried to plot it through an iterator

[sage-support] Strange behaviour of trig_expand

2010-02-02 Thread Nicolas
Here is some to-my-opinion strange behaviour of trig_expand : #Declare real variables var('a b c') assume([a,'real'],[b,'real'],[c,'real']) assumptions() --- [a is real, b is real, c is real] #Case 1 sin(a+b).trig_expand() --- sin(a)*cos(b) + sin(b)*cos(a) #Case 2 sin((a+b)/2).trig_expand() ---

[sage-support] Re: Strange behaviour of trig_expand

2010-02-02 Thread Nicolas
Oops, case 4 ended at the end of the message... On 2 fév, 15:06, Nicolas nicolas.fresseng...@gmail.com wrote: Here is some to-my-opinion strange behaviour of trig_expand : #Declare real variables var('a b c') assume([a,'real'],[b,'real'],[c,'real']) assumptions() --- [a is real, b is real

[sage-support] Re: Strange behaviour of trig_expand

2010-02-02 Thread Nicolas
idea how I can do that directly in sage ? On 2 fév, 16:15, kcrisman kcris...@gmail.com wrote: Dear Nicolas, If you do sage: a = sin((a+b)/c) sage: a.trig_expand?? you will see the source code, which simply uses one of Maxima's expansion routines, whose behavior should be documented

[sage-support] Can I define the derivative of un unkown function

2009-09-03 Thread Nicolas
I am trying to do the following thing but I am not sure whether this is possible in sage (though I think it is in Mathematica) Let's say I define a symbolic function sage: f=function('f',x) I would like to issue some command to tell sage what the derivative of f is (for instance : g) so that

[sage-support] Bug in sage.symbolic.expression.Expression.__init__ (sage.4.0.2)

2009-06-26 Thread Nicolas
in details here for the 4.0.1 version. It is still present in the 4.0.2 : http://groups.google.com/group/sage-support/browse_thread/thread/d50dc3bc2bdbeab0/34798c0585fc034f?lnk=gstq=nicolas#34798c0585fc034f Burcin provided a simple solution that works wonderfully, in the same thread. Should we

[sage-support] Re: Is it possible to disable maxima automated simplification ?

2009-06-25 Thread Nicolas
be x+x+1 Note that maxima isn't involved. Sorry for the trouble Nicolas On 23 juin, 11:19, William Stein wst...@gmail.com wrote: On Tue, Jun 23, 2009 at 9:40 AM, Nicolasnicolas.fresseng...@gmail.com wrote: I am in the writing of a program that deals with rather lengthy

[sage-support] Re: Is it possible to disable maxima automated simplification ?

2009-06-24 Thread Nicolas
lengthy and even crash maxima. So my question was : is this possible that when I ask a in the second line above, that the answer would be x+x+1 Sorry for the trouble Nicolas On 23 juin, 11:19, William Stein wst...@gmail.com wrote: On Tue, Jun 23, 2009 at 9:40 AM, Nicolasnicolas.fresseng

[sage-support] Is it possible to disable maxima automated simplification ?

2009-06-23 Thread Nicolas
to use My solution would be to disable maxima automated simplification but I cannot figure out if this is possible in sage or how to do it (I am using sage.4.0.1 on Fedora 10) Thanks Nicolas --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: Inheritance from sage.symbolic.expression.Expression

2009-06-18 Thread Nicolas
? Thanks for your help ! Nicolas On 12 juin, 11:22, Burcin Erocal bur...@erocal.org wrote: Hi Nicolas, On Fri, 12 Jun 2009 02:09:08 -0700 (PDT) Nicolas nicolas.fresseng...@gmail.com wrote: Just one quick question about patches, I have just changed the expression.pyx file and ran another make

[sage-support] unsupported operand type(s) for +: 'sage.symbolic.function.SFunction' and 'sage.symbolic.function.SFunction'

2009-06-16 Thread Nicolas
Hi all, I was trying to add symbolic functions into another one. sage does seem to handle it. Is there any workaround ? See : -- | Sage Version 4.0.1, Release Date: 2009-06-06 | | Type notebook() for the

[sage-support] Re: Inheritance from sage.symbolic.expression.Expression

2009-06-15 Thread Nicolas
Dear Burcin Thanks for all It seems the patch works fine for my application, at least this is what the first tests says ! I will get back to here if I see issues Nicolas On 12 juin, 11:22, Burcin Erocal bur...@erocal.org wrote: Hi Nicolas, On Fri, 12 Jun 2009 02:09:08 -0700 (PDT) Nicolas

[sage-support] Re: Inheritance from sage.symbolic.expression.Expression

2009-06-12 Thread Nicolas
, 17:12, Burcin Erocal bur...@erocal.org wrote: Hi Nicolas, On Thu, 11 Jun 2009 07:07:50 -0700 (PDT) Nicolas nicolas.fresseng...@gmail.com wrote: Hi all, I am trying, in sage 4.0, to write a class that inherits from the new sage.symbolic.expression.Expression class. I have not found any

[sage-support] Inheritance from sage.symbolic.expression.Expression

2009-06-11 Thread Nicolas
Hi all, I am trying, in sage 4.0, to write a class that inherits from the new sage.symbolic.expression.Expression class. I have not found any precise signature for the __init__ method of that class so I suppose I am doing something wrong : things seem to work, except for the substitute stuff.

[sage-support] Re: Inheritance from sage.symbolic.expression.Expression

2009-06-11 Thread Nicolas
: a=test(x==1) sage: b=test(x==2) sage: a+b 2*x == 3 sage: a=(x==1) sage: b=test(x==2) sage: a+b x == (x + 1 == 3) strange, huh ? I will try out your patch. Why do you say that does not solve my problem ? Thanks Nicolas On 11 juin, 17:12, Burcin Erocal bur...@erocal.org

[sage-support] Re: Reading numbers from a file

2009-06-05 Thread Nicolas
function like Mathematica ReadList which can read simple numbers (the csv module almost does it !) Anyhow, thanks to all ! Nicolas On 4 juin, 10:31, Craig Citro craigci...@gmail.com wrote: This is almost what I want to do. I had figured out that trick but my problem is that the line that is input

[sage-support] Reading numbers from a file

2009-06-04 Thread Nicolas
by sage or python to read numbers from a file without redoing the parsing stuff ? Thanks in advance ! Nicolas --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr

[sage-support] Re: Reading numbers from a file

2009-06-04 Thread Nicolas
This is almost what I want to do. I had figured out that trick but my problem is that the line that is input is, in my case, really long and gulps a lot of memory. Thus, to save memory, I need to read the numbers one by one (or a small bunch of them at a time). It seems I have to read line by

[sage-support] Possible bug Inheritance from SymbolicArithmetic (method __repr__)

2009-05-28 Thread Nicolas
an AttributeError in 3.4.2. Is this a bug or am I doing something wrong ? Could I get around it by not substracting this 0 which is possibly the source of the problem ? Thank you all in adavance Nicolas sage.3.3: sage: load dummy.sage sage: a=test(x) sage: a x sage.3.4.2: sage: load dummy.sage