Path: utzoo!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!charon!jurjen From: jurjen@cwi.nl (Jurjen NE Bos) Newsgroups: comp.sys.handhelds Subject: Re: HP48 Vectors to Array? Keywords: HP-48SX Message-ID: <3131@charon.cwi.nl> Date: 11 Mar 91 12:13:17 GMT References: <1991Mar8.211004.27380@NCoast.ORG> <13845@life.ai.mit.edu> Sender: news@cwi.nl Distribution: comp.sys.handhelds Lines: 19 In a posting of [8 Mar 91 21:10:04 GMT] ppetto@NCoast.ORG (Peter Petto) writes: >An HP-48SX question ... I would like to combine two vectors >into an array as follows > > [ 2 4 6 8 ] plus [ 2 9 27 81 ] > > to get > > [[ 2 4 6 8 ] > [ 3 9 27 81 ]] This is one of the more useful functions of \GS+ (\GS means the capital sigma) how about? \<< CL\GS SWAP \GS+ \GS+ RCL\GS \>> It this short, or what? There is one problem: it doesn't work with complex numbers. Happy Hacking,