Re: [sage-support] Re: Sage crash report

2018-08-26 Thread Maxim Leyenson
Дмитрий, спасибо огромное. Установка python2-cypari2 решила проблему. Пишу Вам по-русски, потому что слышал Ваше имя раньше. Добрый вечер. Максим. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

[sage-support] Sage crash report

2018-08-26 Thread Maxim Leyenson
Dear friends, I would appreciate help with the following crash report (in the attachment) a few details: * first run of Sage; * System: Fedora 28, 64 bit * Sage source: Fedora repository, Sage 8.0-2.fc28 * $ uname -a Linux toucan 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018

[sage-support] Re: Additionnal constraints are never enough

2011-03-08 Thread Maxim
Adding a forget() directive next the reset does indeed prevent the error. I tried applying your patch, but I get: patch -b trac_10855_ensure_that_reset_forgets.patch patching file reset.pyx Hunk #1 FAILED at 6. Hunk #2 FAILED at 25. Hunk #3 FAILED at 38. 3 out of 3 hunks FAILED -- saving rejects

[sage-support] Additionnal constraints are never enough

2011-03-07 Thread Maxim
Hello, I'd like to know if it's possible to get Sage to process the following integrals: reset() var('x y z') assume(z-16) assume(z0) integrate(integrate(1/16,y,-2,(z+2*x+4)/(x+2)),x,(-z-8)/4,2) Sage always return: Is z+16 positive, negative, or zero? Maxim -- To post to this group, send

[sage-support] Re: Additionnal constraints are never enough

2011-03-07 Thread Maxim
Maple is able to solve this using the following code: restart; assume(z0); int(int(1/16,y=-2..(z+2*x+4)/(x+2)),x=(-z-8)/4..2); 1 1 1 -- z + 1 + - z ln(2) - -- z ln(-z) 16 4 16 -- To post to this

[sage-support] Re: Additionnal constraints are never enough

2011-03-07 Thread Maxim
Repeating the steps in the exact order you provided them from a freshly started Sage does indeed work. But, after a reset() command, it does not work anymore. Try the following code: var('x y z') assume(z+160); assume(z0) integrate(integrate(1/16,y,-2,(z+2*x+4)/(x+2)),x,(-z-8)/4,2) reset()

[sage-support] Re: New to sage: significant digits, etc.

2011-03-01 Thread Maxim
I'm affraid I cannot help you on the Matlab front (I don't have it installed), but have you considered using pyplot (from matplotlib)? It's basically a clone of the Matlab plotting framework. I've used it recently to make a semilog plot with excellent results. On 1 mar, 12:57, sm123123

[sage-support] Re: Accentuated characters in axes_label

2011-02-17 Thread Maxim
knowledgeable you are! :) Ryan: I had not try the eps output. Nice to know! Thanks to everyone, Maxim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group

[sage-support] Re: Accentuated characters in axes_label

2011-02-16 Thread Maxim
Thanks Michael! That's a nice workaround. Should I open a ticket about it in trac? I haven't found this defect listed there already. Maxim -- 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: Accentuated characters in axes_label

2011-02-16 Thread Maxim
matplotlib as mpl mpl.rcParams['text.usetex'] = True plt = plot(sin, -pi, pi) plt.axes_labels([ 'Valeur', r\'{E}chantillon ]) save(plt,filename='/home/maxim/test.pdf') Same thing happens if I try to use pyplot instead. Any clues or other ideas? Thanks, Maxim -- To post to this group, send email to sage

[sage-support] Accentuated characters in axes_label

2011-02-15 Thread Maxim
/python2.6/site-packages/sage/plot/ plot.py, line 746, in axes_labels self.__axes_labels = (str(l[0]), str(l[1])) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 0: ordinal not in range(128) Any ideas? TIA, Maxim -- To post to this group, send email to sage-support

[sage-support] Re: How to get correct sagetex

2011-01-21 Thread Maxim
luck! Maxim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] SageTeX encoding issue?

2010-11-21 Thread Maxim
Hi everyone, I've toyed a bit with SageTeX now that it supports XeLaTeX (that's really nice), and stumbled on some encoding problem, when I try to use french accentuation in comments. For example, this works as intended: \begin{sagecommandline} sage: # This is a comment sage: 2+2

[sage-support] Re: How to use LaTeX output in Sage Notebook?

2010-11-07 Thread Maxim
I finally found how to do it. Simple, actually, I had just missed the Typeset check in the notebook... So, to start you need to have proper latex fonts. Install procedure documented here: http://www.math.union.edu/~dpvc/jsMath/users/fonts.html Now you need to tell jsMath to use these fonts. In a

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Maxim
}% \end{figure} \end{document} % --- END Save this under test.tex, for example, and generate a pdf using pdflatex pdflatex test.tex Good luck and have fun! Maxim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Re: sagetex -- how to get started?

2010-10-30 Thread Maxim
Hmm, actually, to generate the output embedding the plots made with sageplot, you need to do: pdflatex test.tex sage test.sagetex.sage pdflatex test.tex That's why I usually use makefiles to ease the process. Maxim -- To post to this group, send email to sage-support

[sage-support] Is there an intersection combinatorial function?

2010-10-24 Thread Maxim
... If it already is, I couldn't find it. Thanks, Maxim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http

[sage-support] Re: Is there an intersection combinatorial function?

2010-10-24 Thread Maxim
I found the existence of the desired intersection function while browsing the Set Partitions reference page (http:// combinat.sagemath.org/doc/reference/sage/combinat/set_partition.html). Using two sets E1 E2, we can easily do: E1.intersection(E2) Solved! Thanks anyway :) -- To post to this

[sage-support] Symbolic convolution usage Sage

2009-12-22 Thread Maxim
force Sage to return a numerical results of this integral ? Many thanks in advance, Maxim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] How to create local copy of an FFT object?

2009-12-18 Thread Maxim
Hello! I am working with the builtin FFT Fast Fourier Transform of Sagemath, and have coded (based on the work of P. Lutus here : http://vps.arachnoid.com/sage/fourier.html) a function that takes an fftobject to plot the spectrum of a function. My problem is that when I pass the fftobject, I

[sage-support] Re: How to create local copy of an FFT object?

2009-12-18 Thread Maxim
Ok. I've found a way (to copy an fft object) : lfft = len(fftobj) fftobj_copy = FFT(lfft) for i in range(lfft): fftobj_copy[i]=fftobj[i] If you see things which I could / should do another way in my code, feel free to post your suggestions! On Dec 18, 11:45 am, Maxim