Massaging output of 50g's FACTORS command
|
01-03-2015, 05:32 PM
(This post was last modified: 01-03-2015 05:38 PM by C.Ret.)
Post: #4
|
|||
|
|||
RE: Massaging output of 50g's FACTORS command
Hi, another way is to duplicate the list element by element into two distinct lists.
To separate factors from exponents, the process alternates the positions of the two lists during construction. Code: SPLIPT: The factors lsit { 3 5. 2 3.} will result in { 2 3 } and { 3. 5.} lists. The list { y 5 p 1 p 0 a 2 H } will be split into the two lists 1:{ H a p p y } and 2:{ 2 0 15 }. This last example is of course a season best greetings pretext. So { y 5 p 1 p 0 a 2 H } SPLIT to everybody here !! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Massaging output of 50g's FACTORS command - Peter Murphy - 01-03-2015, 07:12 AM
RE: Massaging output of 50g's FACTORS command - Gilles - 01-03-2015, 03:08 PM
RE: Massaging output of 50g's FACTORS command - Peter Murphy - 01-03-2015, 05:27 PM
RE: Massaging output of 50g's FACTORS command - Gilles - 01-03-2015, 09:16 PM
RE: Massaging output of 50g's FACTORS command - C.Ret - 01-03-2015 05:32 PM
RE: Massaging output of 50g's FACTORS command - Peter Murphy - 01-03-2015, 06:16 PM
RE: Massaging output of 50g's FACTORS command - Peter Murphy - 01-03-2015, 09:35 PM
RE: Massaging output of 50g's FACTORS command - Gilles - 01-04-2015, 09:58 AM
RE: Massaging output of 50g's FACTORS command - Han - 01-07-2015, 10:12 PM
RE: Massaging output of 50g's FACTORS command - Gerald H - 01-08-2015, 11:11 AM
|
User(s) browsing this thread: 4 Guest(s)