Post Reply 
Plus42 algebraic expressions update
03-07-2021, 12:58 AM (This post was last modified: 03-07-2021 12:59 AM by Vincent Weber.)
Post: #93
RE: Plus42 algebraic expressions update
(03-07-2021 12:53 AM)Thomas Okken Wrote:  
(03-06-2021 05:48 PM)Vincent Weber Wrote:  Also given this another thought. How will this work to reuse functions in other equations ? Will the implied ordering of variables based on "first appeared / first in the list", i.e if I define F:X+Y+Z, then using F(1:2:3) in another equation will mean calling F with X=1, Y=2, Z=3 ? Then we need to keep in mind that the order of appearance of variables in the 27S can be altered using G(), e.g. F:X+Y+Z+Y^2 will show X,Y,Z, but F: X+G(Y)+Z+Y^2, while functionally equivalent, will show X,Z,Y - not too sure how to articulate that the order of formal parameters for a function...

You can always force the order of parameters by putting them at the front of the equation like 0*X+0*Y+0*Z+<rest of equation>. It's not very elegant but it works, and I think I even read that suggestion in one of the manuals somewhere...
Yes, the 19B/27S technical application book (the Bible for the subject - covers all tricks of L(), G(), S() - the important solving function, IF and SIGMA) mentions that: to reorder, you can use 0x, and/or G() that will skip the variable.
Anyway, so I will be able to use F(1:2:3) in another equation ? That's good news Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 algebraic expressions update - Vincent Weber - 03-07-2021 12:58 AM



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