From: SourceForge.net <no...@so...> - 2007-12-12 20:34:35
|
Bugs item #1726550, was opened at 2007-05-27 18:01 Message generated for change (Comment added) made by srci You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1726550&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 - Simplification Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Barton Willis (willisbl) Assigned to: Robert Dodier (robert_dodier) Summary: not bugs Initial Comment: (1) not signals an error for a CRE argument: (%i1) not(rat(x)); Maxima encountered a Lisp error: (2) not allows more than one argument: (%i2) not(a,b); (%o2) not b (3) not signals an error for a subscripted function argument (%i3) not(f[1](x)); Maxima encountered a Lisp error: Error in PROGN [or a callee]: Bad plist ((1 DATA (((MGRP (4) not signals an error for a taylor poly argument: (%i14) not(taylor(x,x,0,5)); Maxima encountered a Lisp error: ---------------------------------------------------------------------- Comment By: Rafael Cantero (srci) Date: 2007-12-12 20:34 Message: Logged In: YES user_id=1958656 Originator: NO About (2): "The logical negation operator. not is a prefix operator; its operand is a Boolean expression, and its result is a Boolean value. not forces evaluation (like is) of its operand. " (from Maxima manual) in other words: - not is not a function. Parenthesized list return last argument: not (a,b) must give not b ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2007-05-27 23:05 Message: Logged In: YES user_id=895922 Originator: YES 'and' and 'or' have similar problems: try f[1](x) and p, x or rat(x), taylor(x,x,0,2) and p, ... ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2007-05-27 18:07 Message: Logged In: YES user_id=895922 Originator: YES One more: (%i1) not(a >= b); (%o1) a<b (%i2) tellsimp(a < b, true); (%o2) [<rule1,false] (%i3) not(a >= b); (%o3) a<b (%i4) expand(%,0,0); (%o4) true (%o3) isn't simplified. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1726550&group_id=4933 |