- From: lq <address@hidden>
- To: address@hidden
- Subject: Re: [TeXmacs] A bug in display output for maxima
- Date: Wed, 25 Mar 2009 11:28:02 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=eDH3EtCm5O9D9YXg81O7z1HZRYxJ2OXitrgaMdc4o74S3M/sebIyyM2QOPd0EirSuU Yy5ZB7xkMdQM6o3/vUK3n69hKgBETw4khuKcvL/4KBCNVAide/1K0GMgshgPTHRVJTG9 lBOnVbArOxm4Mw+ARM3jkpqxRd+69N3kEumb8=
Hi Paul,
The difference may be because I load the pdiff package in my maxima-int.mac;
Without pdiff loaded,my maimxa(5.17.1) just throw out a lot of errors I
cannot understand(See in test-nopdiff.pdf).
That's also the situation running in original test interface;
With pdiff loaded,that's what I talked in the first post.(See
test-withpdiff.pdf).
Thanks very much for your help.
lq
Paul Zarucki 写道:
>
Hi lq,
>
>
If I type your commands in Texmacs 1.0.7 on Debian 4.0 (Maxima version
>
5.10.0) I get the following message:
>
>
**************
>
Maxima encountered a Lisp error:
>
>
Error in PROGN [or a callee]: Caught fatal error [memory may be damaged]
>
>
Automatically continuing.
>
To reenable the Lisp debugger set *debugger-hook* to nil.
>
**************
>
>
I used a terminal window to start Texmacs but there is no error
>
message in the terminal window and CPU usage is normal (very low). I
>
attach a PDF of my Maxima session in Texmacs.
>
>
I also typed your commands into the terminal interface of Maxima and
>
get the following error message:
>
>
**************
>
Maxima encountered a Lisp error:
>
>
Error in PROGN [or a callee]: Caught fatal error [memory may be damaged]
>
>
Automatically continuing.
>
To reenable the Lisp debugger set *debugger-hook* to nil.
>
**************
>
>
which is identical to the message in Texmacs.
>
>
Regards,
>
>
Paul.
>
>
>
lq wrote:
>
> Hi everyone:
>
>
>
> I am using Arch Linux and have texmacs(version 1.0.7) installed using
>
> pacman.
>
> Today ,I want to derive the *Runge�CKutta methods** *with help of the
>
> maxima.
>
> After typing a command with a quite long output ,texmac only output:
>
>
>
> ** <stack-overflow|#f|Stack overflow|#f|#f>
>
>
>
> with a lot of CPU used.
>
>
>
> And the output
>
>
>
>> /usr/share/TeXmacs/progs/convert/rewrite/tmtm-tidy.scm:42:28: In
>
>> procedure equal? in expression (== x (quote #)):
>
>> /usr/share/TeXmacs/progs/convert/rewrite/tmtm-tidy.scm:42:28: Stack
>
>> overflow
>
>>
>
> in terminal window.
>
>
>
> The commands I run are below:
>
>
>
>> K[1]:g(t,y);
>
>> A:taylor(g(t+h[t],y+h[y]),[h[t],h[y]],0,4);
>
>> h[t]=mu[21]*h;
>
>> h[y]=mu[21]*h*K[1];
>
>> K[2]:A,%o3,%o4,ratexpand;
>
>> h[t]=(mu[31]+mu[32])*h;
>
>> taylor(h*(mu[31]*K[1]+mu[32]*K[2]),h,0,4);
>
>> h[y]=taytorat(%o7);
>
>> A,%o6,%o8;
>
>>
>
> The last one is which caused problem.
>
> This must be a bug of texmacs , beacause there is no problem when I run
>
> these commands in original terminal interface of
>
> maxima or change the last command to
>
>
>
>> A,%o6,%o8$
>
>>
>
> Does anyone know how to fix?
>
>
>
>
>
> lq
>
>
>
>
>
>
>
>
>
>
>
>
--
>
>
/ *Electronic Equipments Ltd.*
>
101 Ridgeway Avenue, Dunstable, Bedfordshire, LU5 4QN, United Kingdom
>
T: +44 (0) 1582 511335 - F: +44 (0) 870 235 1877
>
E: address@hidden
>
<mailto:address@hidden>
>
W: www.electronic-equipments.co.uk
>
<http://www.electronic-equipments.co.uk/> /
>
>
/ Technical Services /
>
K[1]:g(t,y);
A:taytorat(taylor(g(t+h[t],y+h[y]),[h[t],h[y]],0,4));
ev1:h[t]=mu[21]*h;
ev2:h[y]=mu[21]*h*K[1];
K[2]:ev(A,ev1,ev2,ratexpand);
ev1:h[t]=(mu[31]+mu[32])*h;
taylor(h*(mu[31]*K[1]+mu[32]*K[2]),h,0,4);
ev2:h[y]=taytorat(%);
A,ev1,ev2$
Attachment:
test-nopdiff.pdf
Description: Adobe PDF document
Attachment:
test-withpdiff.pdf
Description: Adobe PDF document
Archive powered by MHonArc 2.6.19.