From: SourceForge.net <no...@so...> - 2007-10-17 20:02:13
|
Bugs item #1812669, was opened at 2007-10-12 23:20 Message generated for change (Comment added) made by macrakis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1812669&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core - Integration Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: integration variable is global, should be local Initial Comment: jj...@sb... --Maxima version: 5.13.0Maxima build date: 20:4 9/10/2007host type: i686-pc-mingw32lisp-implementation-type: GNU Common Lisp (GCL)lisp-implementation-version: GCL t:0; integrate(t,t); Attempt to integrate wrt a number: 0 -- an error. To debug this try debugmode(true); ---------------------------------------------------------------------- >Comment By: Stavros Macrakis (macrakis) Date: 2007-10-17 16:02 Message: Logged In: YES user_id=588346 Originator: NO This is not a bug. The arguments to integrate, as to most functions, are evaluated. Thus: var: x$ expr: x^2$ integrate(expr,var) => x^3/3 You can quote them if you don't want them evaluated, e.g. integrate('expr,'var) => expr*var rtoy: I think he wants integrate('t,'t), actually... ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2007-10-17 08:50 Message: Logged In: YES user_id=28849 Originator: NO I'm not really familiar with all of maxima's evaluation rules, but this makes sense to me. Perhaps you really want to use integrate(t,'t)? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1812669&group_id=4933 |