[sage-support] Python decorators to implement Maple's "options remember"

2008-04-21 Thread BFJ
calculation. This is very useful in alot of computational situations, especially combinatorial functions that are defined recursively (like the fibonacci example given and profiles in the post above). -BFJ --~--~-~--~~~---~--~~ To post to this group, send email to sa

[sage-support] Re: Is this a memory problem?

2007-12-09 Thread BFJ
That was fast! Thanks for looking into the problem. I'll be doing more extensive calculations over the next couple of weeks (I'm porting some Maple code). I'll let you know if I run into any other problems. I'm excited about the prospect of a 17-fold performance increase. Thanks very much, -- [

[sage-support] Elementary symmetric function expansion (bug?)

2008-01-16 Thread BFJ
Elementary that has a problem. Thanks, BFJ --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-17 Thread BFJ
like using trac? Thanks, BFJ On Jan 16, 4:30 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 16, 10:23 pm, BFJ <[EMAIL PROTECTED]> wrote: > > > Hi, > > > First of all, I don't know whether to post about this here, or file a > > bug rep

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-19 Thread BFJ
ional Field The same code but for SFASchur results in: sage: s=SFASchur(QQ) sage: f=s([2]).expand(2) sage: f x0^2 + x0*x1 + x1^2 sage: f.parent() Multivariate Polynomial Ring in x0, x1 over Rational Field Thanks, BFJ On Jan 17, 1:46 pm, "William Stein" <[EMAIL PROTECTED]> wrote: &g

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-20 Thread BFJ
o this, or if everyone is busy, maybe someone can tell me where to look at how values returned from symmetrica are interpreted and perhaps I can provide a patch. Thanks, BFJ --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To uns

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-20 Thread BFJ
Hi Mike, That makes sense. Thanks. I think I've managed to understand something small about how this kind of interface works in Sage. Overall I'm very impressed how easy it is to do things with symmetric poly's in Sage. It kills Maple :) Thanks, -BFJ On Jan 20, 5:25 pm, "

[sage-support] Re: Warnings from JsMath

2008-01-24 Thread BFJ
hing which can be addressed in Sage without modifying jsMath, I don't know. -BFJ On Jan 24, 4:56 pm, "bill.p" <[EMAIL PROTECTED]> wrote: > I find the warning messages that appear at the top of the notebook > saying > that JsMath isn't available annoying. There

[sage-support] another missing worksheet problem

2008-02-12 Thread BFJ
he notebook (running sage 2.10.1) the old worksheets don't show up. If I create a new worksheet and put some lines in it, save and close. The new files show up in $HOME/.sage/sage_notebook/worksheets/admin/ under the next available number, so to speak.

[sage-support] Re: another missing worksheet problem

2008-02-15 Thread BFJ
I'm trying to figure this out still. Is there a file somewhere that records which worksheets are displayed in the notebook interface; somehing besides just the content of the directory $HOME/.sage/sage_notebook/worksheets/ ? -BFJ On Feb 12, 12:28 pm, BFJ <[EMAIL PROTECTED]> wrot

[sage-support] Re: How to use the result of solve

2010-03-16 Thread BFJ
l evaluate numerical expressions to a desired level of accuracy sage: N(S[0][x].subs(tau0=0.5, tau1=5.0), digits=25) 1.198947636399185334710182 -BFJ On Mar 16, 5:32 pm, Jose Guzman wrote: > Hi everybody again. > > Does anybody if it is possible to use the result of the function solve &g

[sage-support] interact on www.sagenb.org

2010-03-16 Thread BFJ
I'm using @interact to make a demo for my calculus students involving area minimization: @interact def _(s=slider(-10,-0.1,0.1,default=-2.5,label='slope')): html('Try to minimize the area of the triangle whose hypotenuse passes through (2,3)') G=line([(0,-2*s+3), (-3/s+2,0)]) #s*(x-2)+3,(x

[sage-support] Re: Map fom ZZ^3 to Hom(ZZ^3,Z)

2010-11-19 Thread BFJ
It seems to me that the issue might be that Sage doesn't understand how Hom(ZZ^3, ZZ^1) is a (free) module over ZZ. If you could coerce it into that category, then the object H = Hom(ZZ^3, ZZ^1) would have generators induced by those of ZZ^3 and ZZ^1 and then specifying a map in Hom( ZZ^3, Hom( ZZ^

[sage-support] Re: Bug (?) in full_simplify()

2010-11-19 Thread BFJ
The two expressions you give may be algebraically equivalent, but they're not identical. There is no canonical "fully simplified" form for a general algebraic expression, so you can't expect full_simplify() to output this non-existant form. If the expressions are simple enough, like polynomials, yo

[sage-support] Re: Plotting trigonometric functions

2010-12-01 Thread BFJ
The part of the reference manual under Pi Axis is relevant: Pi Axis: sage: g1 = plot(sin(x), 0, 2*pi) sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--") sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # show their sum, nicely formatted On Nov 30, 3:36 pm, David Joyner wrote: > Does the pag

[sage-support] Re: Set and real intervals

2010-12-09 Thread BFJ
I was going to suggest this too, but the RIF behaves differently than you might naively expect "intervals" of real number to behave. For example, "union" means convex hull: sage: a = RIF(0,1) sage: b = RIF(2,3) sage: a.union(b).endpoints() (0.000, 3.00) Also, it seems from

[sage-support] Re: implicit_plot3d (potential bug?)

2011-01-11 Thread BFJ
I'm not sure why nothing appears and no warning or error is raised. It may have to do with the type of v[1]. Try this: {{{ M = matrix(3,[1,-1,-1,-1,3,1,-1,1,3]); v=M.eigenvalues(); x,y,z = var('x,y,z') Q=implicit_plot3d(x^2+y^2+z^2==RDF(1/v[1]), [x,-3,3], [y,-3,3], [z,-3,3], opacity=0.5); Q }}} I

[sage-support] Re: Integration

2011-02-07 Thread BFJ
ntegral( f, 0, pi) (6.2831854397961235, 1.849638380505561e-07) sage: N(2*pi) 6.28318530717959 Do: numerical_integral? for more info on the numerical_integral function. BFJ On Feb 7, 1:02 am, Santanu Sarkar wrote: > How one can find integral abs(cos(x+y)) where x varies from 0 to pi > a