Дмитрий, спасибо огромное.
Установка python2-cypari2 решила проблему.
Пишу Вам по-русски, потому что слышал Ваше имя раньше.
Добрый вечер. Максим.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receivi
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 x86
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 rejec
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+16>0); assume(z<0)
integrate(integrate(1/16,y,-2,(z+2*x+4)/(x+2)),x,(-z-8)/4,2)
reset()
Maple is able to solve this using the following code:
restart;
assume(z<0);
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
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(z<0)
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?&quo
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 wrote:
> S
hough).
I'm impressed by how 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.co
import *
import 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 ide
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-suppor
;", line 1, in
File "/tmp/tmpXJCjax/___code___.py", line 4, in
A.axes_labels(['Valeur',u'Échantillon'])
File "/opt/SAGE/local/lib/python2.6/site-packages/sage/plot/
plot.py", line 746, in axes_labels
self.__axes_labels = (str(l[0
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
On 23 nov, 02:07, Dan Drake wrote:
> my guess is that
> something strange is happening with Tex / XeTeX.
>
> Dan
I found it is not specific to XeTeX, as the same issue arises when
using LaTeX.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
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
\end{sagecomman
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
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-su
twidth]{a}
\sageplot[width=0.5\textwidth]{b}
\label{fig:ex7}%
\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
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
umented somewhere... 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.go
it_step(-tau + 2)*unit_step(tau), tau,-
Infinity, +Infinity)
Can I 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...@g
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
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 don'
22 matches
Mail list logo