List processing problem HP 50g  Printable Version + HP Forums (https://archived.hpcalc.org/museumforum) + Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum1.html) + Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum2.html) + Thread: List processing problem HP 50g (/thread238006.html) 
List processing problem HP 50g  peacecalc  01282013 Hello RPL geeks, I need your help! I want to program a something which is feed by a list of two dim. vectors (the control points) and has bezier points (as vectors, too) as an output.
The problem for is the input or more precise to get the right three points.
This can be of course be programmed with direct accessing to the list, but maybe somebody know a method which uses the "parallel" list processing features of the HP 50g. The three functions "DOLIST", "STREAM" and "SUBSET" don't solve my problem as far I know.
Sincerely
Edited: 28 Jan 2013, 3:52 p.m.
Re: List processing problem HP 50g  Werner  01282013 The second list is easy \<<Will duplicate every third element and from that list \<<Will produce the first list
Cheers, Werner
Re: List processing problem HP 50g  Gilles Carpentier  01282013 Hi peacecalc !
Quote:
« Re: List processing problem HP 50g  Gilles Carpentier  01282013
\<< Excellent ;)
EDIT : oups.... in fact this don't work
Edited: 28 Jan 2013, 4:41 p.m.
Re: List processing problem HP 50g  Kiyoshi Akima  01282013 This produces { { p0 p1 p2 } { p2 p3 p4 } { p5 p5 p6 } } which isn't quite what was requested.
Edited: Note that p5 is duplicated instead of p4. Edited: 28 Jan 2013, 4:36 p.m.
Re: List processing problem HP 50g  peacecalc  01282013 Hello Gilles Carpentier,
thank you for your fast solution. Normally someone who makes programs (that the way I'm think, too) is avoiding every needless calculation, but here it is the way, which overcomes the obstacle. Again thank you very much!
Sincerely
P.S.: Also to you Werner, thank you very much for your suggestions, even they aren't working, but they showed the possible way Edited: 28 Jan 2013, 6:28 p.m.
Re: List processing problem HP 50g  Werner  01292013 A similar trick can be used here: \<<
Cheers, Werner
