Post Reply 
50g System RPL list processing
10-31-2014, 10:06 PM (This post was last modified: 10-31-2014 10:21 PM by Gilles.)
Post: #16
RE: 50g System RPL list processing
Few thoughts after Claudio's explanations

1/

{6} ΣLIST --> 6
{"E"} ΣLIST --> "E"
{'a'} ΣLIST --> 'a'

idea is : 0+Value(s) -> Value (or ""+value(s) for string)

-----
{6} ΠLIST returns 6
{'a' } ΠLIST returns 'a'

idea is : 1*Value(s) -> value

------
{} ΣLIST returns "Error :invalid dimension"
{} ΠLIST returns "Error :invalid dimension" (or '?' ,see below, because applies only on number/algebraic)
{} ΔLIST returns "Error :invalid dimension" (or '?', because applies only on number/algebraic)

Idea is :Sum, product, delta of nothing is invalid / undetermined


2/

Note that the 50G use sometimes a '?' value (something like unknown or undetermined algebraic... For examplle lim (x->+oo,SIN(X)) -> ?
Could be interesting in some cases. A kind of NIL for algebraic

50 ? *
gives ?

? SIN
gives ?
etc.

"Résult=" '?' +
gives
"Résult='?'"

3/

You have also the NOVAL wich is a type 19 object. But any attemps to calculate with NOVAL result in an error. By the way "XX=" NOVAL + returns "XX=NOVAL"


4/

Another big problem in RPL list processing is that DOSUBS or DOLIST command can return ... nothing ! whereas an empty list would be far more logical... I think it will be a real progress to change this....
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 50g System RPL list processing - ttw - 06-21-2014, 02:13 AM
RE: 50g System RPL list processing - Han - 10-28-2014, 05:06 PM
RE: 50g System RPL list processing - Han - 10-31-2014, 02:15 PM
RE: 50g System RPL list processing - Han - 11-01-2014, 08:34 PM
RE: 50g System RPL list processing - Han - 11-02-2014, 01:04 AM
RE: 50g System RPL list processing - Han - 11-01-2014, 08:31 PM
RE: 50g System RPL list processing - Gilles - 10-31-2014 10:06 PM
RE: 50g System RPL list processing - Han - 11-02-2014, 06:26 PM



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