On Sun, Jan 17, 2010 at 10:11 PM, Rolandb wrote:
> Hi,
>
> Consider:
>
> def tau(m):
> q = PowerSeriesRing(QQ, 'q', default_prec=12).gen()
> pq=prod([(1-q^k)^24 for k in range(1,m)])
> return pq.coefficients()[:m]
>
> tau(20)
> [1, -24, 252, -1472, 4830, -6048, -16744, 84480, -113643, -11
2010/1/17 Felix Lawrence :
> On Jan 17, 11:35 am, William Stein wrote:
>> 2010/1/16 Shing Hing Man :
>>
>> > Hi,
>> > In a Sage session (within notebook or command console) , how to
>> > list all the loaded objects and how to remove them from the session ?
>>
>> Use show_identifiers and reset:
Hi,
Consider:
def tau(m):
q = PowerSeriesRing(QQ, 'q', default_prec=12).gen()
pq=prod([(1-q^k)^24 for k in range(1,m)])
return pq.coefficients()[:m]
tau(20)
[1, -24, 252, -1472, 4830, -6048, -16744, 84480, -113643, -115920,
534612, -370944, -577738, 401856, 1217160, 987136, -6905934,
Hi Felix,
On Mon, Jan 18, 2010 at 4:16 PM, Felix Lawrence
wrote:
> Would it be more sensible not to display these omnipresent
> identifiers? It's hard to find my own variables in the mess!
I can replicate this on Linux (the machine mod.math). With a notebook
session of Sage 4.3.1.rc0, issue
On Jan 17, 11:35 am, William Stein wrote:
> 2010/1/16 Shing Hing Man :
>
> > Hi,
> > In a Sage session (within notebook or command console) , how to
> > list all the loaded objects and how to remove them from the session ?
>
> Use show_identifiers and reset:
>
> sage: X = 10
> sage: show_identi
Sage Folks,
I am running into what I think is a bug in a Sage calculation of a
zero-dimensional variety. Attached is a test case that illustrates
the problem. The test case shows that the variety contains a couple
extra points that are not really killed by the corresponding ideal.
Thanks in adv
2010/1/17 Johann "Myrkraverk" Oskarsson :
> Hi all,
>
> Is it possible to plot a function without scaling the y-axis? In
> particular, when animating a damped oscillator, I don't want
> subsequent frames to zoom in.
>
> Code example:
>
> damped_oscillator = 41/311*sqrt(311)*e^(-3/8*t)*sin(1/8*sqrt
I need to correct myself again, as I made diff against an already
"touched" file. :(
Sorry for this mess.
Here how it must be:
704a705
> static Obj ProtectFname;
723a725,726
> /* For some reason itanium GC seems unable to spot fname */
> ProtectFname = fname;
726a730,731
> ProtectFname = (Ob
Thanks for all the reply!
show_identifiers() and reset() are what I am looking for.
But it is good to learn that Python does garbage collection in a way
similar to Java.
Shing
On Jan 17, 12:35 am, William Stein wrote:
> 2010/1/16 Shing Hing Man :
>
> > Hi,
> > In a Sage session (within noteboo
Hi all,
Is it possible to plot a function without scaling the y-axis? In
particular, when animating a damped oscillator, I don't want
subsequent frames to zoom in.
Code example:
damped_oscillator = 41/311*sqrt(311)*e^(-3/8*t)*sin(1/8*sqrt(311)*t) + \
3*e^(-3/8*t)*cos(1/8*sqrt(311)*t)
anima
On Sun, 17 Jan 2010 11:52:30 +0100
Rafael Fourquet wrote:
> I find the following counter-intuitive:
>
> sage: i^2
> -1
> sage: a = (1-i) * x ; a
> -(I + 1)*x
> sage: a.coeff(x,1)
> -I + 1
>
> Is this a bug?
> It made me make an error in the subject of an exam I wrote.
This is #7876 on trac:
h
I find the following counter-intuitive:
sage: i^2
-1
sage: a = (1-i) * x ; a
-(I + 1)*x
sage: a.coeff(x,1)
-I + 1
Is this a bug?
It made me make an error in the subject of an exam I wrote.
Thanks,
Rafaël
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from t
I find the following counter-intuitive:
sage: i^2
-1
sage: a = (1-i) * x ; a
-(I + 1)*x
sage: a.coeff(x,1)
-I + 1
Is this a bug?
It made me make an error in the subject of an exam I wrote.
Thanks,
Rafaël
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from t
William Stein wrote:
On Thu, Jan 14, 2010 at 11:34 PM, ma...@mendelu.cz wrote:
Dear sage-support
I had a look at sources of sage notebook and I have seen, that there
are functions which can be used to download more sws worksheets in one
zip file. How does it work? I was not able to find a suit
kcrisman wrote:
The presentation was very good. I hope it was enough to get my friend
to try using SAGE.
1. Please do something to allow users to change the location of tick
marks on 2D plots.
This is possible now thanks to matplotlib, but we are trying to finish
a nice interface to it. Than
ma...@mendelu.cz wrote:
But I do not know, how much can I trust the result. If I do (for
example)
sin(1).n(digits=1)
is it true that the first 1 digits are correct? Or Sage
actually passes the computation to scipy or some library which has
limited precision a thus, only say fir
16 matches
Mail list logo