From: Stavros M. <mac...@al...> - 2020-05-16 18:40:32
|
I can't reproduce this problem in Maxima 5.43.0 http://maxima.sourceforge.net using Lisp SBCL 1.4.14, either in command-line Maxima (using plot2d instead of wxplot2d) or in wxMaxima 19.05.7 under Windows 10. I've attached the plot from wxMaxima. Could you try with the earlier version of wxMaxima and perhaps also in SBCL, if that's available for your system? I see that wxMaxima currently records the wxMaxima version in the *.wxmx/content.xml file -- perhaps it should also record the Maxima, Lisp, and OS versions, as well as the processor and RAM size. -s On Sat, May 16, 2020 at 1:33 PM Christopher Howard < chr...@li...> wrote: > Hi, I'm using Wxmaxima 20.03.1 with Maxima 5.43.0 and gcl 2.6.12. I've > been playing around with wxmaxima and convolution, as part of some DSP > studies. I have a convolution function which seems to quickly produce a > value for any input I feed into it: > > (%i15) r3(x):=first(quad_qags(s2(t)*i2(x-t), t, 0, x)); > > (%o15) r3(x):=first(quad_qags(s2(t)*i2(x-t),t,0,x)) > > (%i16) r3(10); > > (%o16) -6.681679267465841*10^-5 > > > But if I feed it into wxplot2d (or plot2d) I get a bind stack overflow: > > (%i17) :lisp (setq *debugger-hook* nil) > > NIL > > (%i17) :lisp (si::use-fast-links nil) > > NIL > > (%i17) wxplot2d([r3], [x,0,10],[y,-1,3])$ > > Error: > > > Signalled by DLS. > > > Condition in DLS [or a callee]: INTERNAL-SIMPLE-ERROR: Bind stack overflow. > > > Broken at SYSTEM::DO-BREAK-LEVEL. Type :H for Help. > > > 1 Maxima top-level > > > 2 Return to top level. > > > MAXIMA>> > > > I can sometimes avoid the bind stack overflow by simplifying my impulse > response function. But it doesn't seem like it should matter what my > impulse response function is, so long as that function isn't infinitely > recursive or something. Is there some way I can increase the bind stack > size? Or some alternate way I should be calling wxplot2d? wxmx file > attached. > > > -- > > Christopher Howard > p: +1 (907) 374-0257 > w: https://librehacker.com > social: https://gnusocial.club/librehacker > gpg: ADDEAADE5D607C8D (keys.gnupg.net) > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |