Post Reply 
Public Beta Availiable (v3) - Win/Mac/Firmware
12-17-2017, 09:44 PM
Post: #48
RE: Public Beta Availiable (v3) - Win/Mac/Firmware
(12-16-2017 11:47 PM)Carlos295pz Wrote:  CAS "|"


fx:=x+y+5

fx|x=10 → x+y+5|x=10 → (10)+y+5 → y+15

fx+x|x=10 → fx+(10) → (x+y+5)+10 → x+y+15

(I’ve deleted lots of this to pull out one essential point)

Thanks for all of this. The above shows that | doesn’t expand things consistently. It expands fx when it is the only term, but it doesn’t expand it when x is added to it. (x + fx expands to x + y + 15 as well, so it isn’t that | only acts on the rightmost argument.)

subst() seems to work as expected and it doesn’t have the Ans problem either.

Are | and subst() supposed to be equivalent?

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Nigel (UK) - 12-17-2017 09:44 PM



User(s) browsing this thread: 1 Guest(s)