#1414 integrate function raises "too many contexts" error

closed
nobody
5
2008-05-17
2008-05-08
Anonymous
No

When I try to run the following command sequence

f1c_2d:x^2*y^2*\(sin(2.*x)+%i*cos(2.*y))*exp(%i*20.*x)*exp(%i*30.*y)$
l:integrate(f1c_2d,x,-1.,10.);
l:integrate(l,y,-5.,15.);

I get a "too many contexts" error message after the second call to "integrate". I use maxima 5.15.0 with SBCL Lips. The function to integrate is pretty easy so I do not expect that there is an error at all.

regards
Eugen Wintersberger

eugen.wintersberger@jku.at

Discussion

  • Harald Geyer

    Harald Geyer - 2008-05-09

    Logged In: YES
    user_id=929336
    Originator: NO

    Note that maxima apparently doesn't recover from this kind of
    error: Once I get the "too many contexts" message any further
    integration (even something simple like integrate(y,y,-5,15)
    fails with the same error.

    Also note that this issue is similiar to #1714039 and #1866077
    and (the already fixed) #1860487

     
  • Dan Gildea

    Dan Gildea - 2008-05-17
    • status: open --> closed
     
  • Dan Gildea

    Dan Gildea - 2008-05-17

    Logged In: YES
    user_id=1797506
    Originator: NO

    src/sin.lisp revision 1.31
    o monstertrig: trying new way to stop recursion: only substitute new variable
    when total size of expression decreases. Handles oscillation between
    sin(x+4)*cos(x) <-> sin(x)*cos(x-4).
    fixes [ 1960200 ] integrate function raises "too many contexts" error

    tests/rtestint.mac: new test case

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks