On Jun 29, 2012, at 11:03 PM, Walter Carlip wrote:
> Okay, using the init.sage file with "gap._eval_using_file_cutoff = 10"
> seems to work now. Thanks.
>
> Have a new question, which should perhaps go somewhere else, but I'll try
> asking here. When I execute
> the gap command "SaveWork
Just tried this on my laptop at home. It did give back an interesting
path, including rather rudely
named directories beginning with "-" characters. However, no file with the
name I gave to the
workspace appeared there.
--
To post to this group, send email to sage-support@googlegroups.com
T
Okay, nevermind. Found it. Now worried, however, that students may need
to save more than
their .sage subdirectory between sessions. As a backup, would be nice to
save workspaces
in a place that is accessible for saving and restoring.
On Saturday, June 30, 2012 11:43:12 AM UTC-5, Walter Carli
But this is a rather fragile concept: see
http://whww.sagenb.org/home/pub/4840 http://www.sagenb.org/home/pub/4840
If you can't, expand f below as x^2-2*x+1 then try perturbing the +1 term,
e.g. +1+10^(-20).
What you really need in the approximate square-free decomposition of f:
see, e.g.
Chin,P
Hi,
I am having issues with adding color to plots.
Code:
a = [i/pi for i in range(79)]
p1 = plot([circle((-sin(i),cos(i)),1, edgecolor = colors[i]) for i in a])
p2 = plot([circle((sin(i),-cos(i)),1, edgecolor = colors[i]) for i in a])
p3 = p1 + p2
show(p3, aspect_ratio = 1, axes = False)
a = [i/pi for i in range(79)]
colors = rainbow(len(a))
p1 = plot([circle((-sin(i),cos(i)),1, edgecolor = colors[i]) for i in a])
p2 = plot([circle((sin(i),-cos(i)),1, edgecolor = colors[i]) for i in a])
p3 = p1 + p2
show(p3, aspect_ratio = 1, axes = False)
--
To post to this group, send e
What you wanted was very beautiful, I like it very much.
a = [j/pi for j in range(79)]
colors = rainbow(len(a))
p1 = plot([circle((-sin(a[i]),cos(a[i])),1, edgecolor = colors[i]) for i in
range(len(a))])
p2 = plot([circle((sin(a[i]),-cos(a[i])),1, edgecolor = colors[i]) for i in
range(len(a))])
Dears members,
How I will can get the coefficients list in Fraction Field. When I write
p.lis() i obtained this message:
'FractionFieldElement_1poly_field' object has no attribute 'list'
--
-
MSc. Juan del Carmen Grados Vásquez
Dears members,
How I will can get the coefficients list in Fraction Field. When I write
p.lis() i obtained this message:
'FractionFieldElement_1poly_field' object has no attribute 'list'
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send
Perhaps your looking for something like
sage: R. = QQ[]
sage: f = 2 * x^2 / (x^3 + 5); f
2*x^2/(x^3 + 5)
sage: f.numerator().list()
[0, 0, 2]
sage: f.denominator().list()
[5, 0, 0, 1]
On Sat, Jun 30, 2012 at 8:26 PM, juaninf wrote:
> Dears members,
>
> How I will can get the coefficients list i
10 matches
Mail list logo