Processing lists on the 50G
01-01-2021, 04:42 AM (This post was last modified: 01-01-2021 05:00 AM by EngineerX.)
Post: #1
 EngineerX Junior Member Posts: 21 Joined: Jun 2017
Processing lists on the 50G
Hello everyone, Happy new year.

How would one go about processing a number of lists such as these ones:

{1 2 3} - might label it x
{0 1 2} - might label it y

Now, what you be the procedure to make another list whose elements are a function f(x,y) such as (1+1/x)*y?

Edit: I am reading the manual (48, not 49). It shows how to do it with one list and using a program, which would be ideal. The problem is how to make the program process two or more lists at once.
01-01-2021, 04:58 AM
Post: #2
 Joe Horn Senior Member Posts: 1,968 Joined: Dec 2013
RE: Processing lists on the 50G
(01-01-2021 04:42 AM)EngineerX Wrote:  Hello everyone, Happy new year.

How would one go about processing a number of lists such as these ones:

{1 2 3} - might label it x
{0 1 2} - might label it y

Now, what you be the procedure to make another list whose elements are a function f(x,y) such as (1+1/x)*y?

List processing has been built into RPL starting with the 48G series. If Y is on level 2 of the stack, and X is on level 1 (as their names imply), then:

will return the result you're looking for. You might want to do SIMPLIFY on the resulting list.

<0|ΙΈ|0>
-Joe-
01-01-2021, 05:02 AM
Post: #3
 EngineerX Junior Member Posts: 21 Joined: Jun 2017
RE: Processing lists on the 50G
(01-01-2021 04:58 AM)Joe Horn Wrote:
(01-01-2021 04:42 AM)EngineerX Wrote:  Hello everyone, Happy new year.

How would one go about processing a number of lists such as these ones:

{1 2 3} - might label it x
{0 1 2} - might label it y

Now, what you be the procedure to make another list whose elements are a function f(x,y) such as (1+1/x)*y?

List processing has been built into RPL starting with the 48G series. If Y is on level 2 of the stack, and X is on level 1 (as their names imply), then: