List transpose using built-in?
|
10-31-2018, 12:59 PM
Post: #3
|
|||
|
|||
RE: List transpose using built-in?
(10-28-2018 11:46 PM)StephenG1CMZ Wrote: I was expecting the built-in sequence mat2list(transpose(list2mat)) to give the same results. Here is another way to transpose a list of lists using built-in commands: MAKELIST(mat2list(col(LST,I)),I,1,colDim(LST)) it should be faster than the double FOR loop. Note: it seems, at least with the latest Prime beta firmware, that the column index start value is different between the Virtual Prime and the real Prime/Android Prime. On the Windows Virtual Prime, you would need to do: MAKELIST(mat2list(col(LST,I)),I,0,colDim(LST)-1) I've reported this to calcbeta. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
List transpose using built-in? - StephenG1CMZ - 10-28-2018, 11:46 PM
RE: List transpose using built-in? - Albert Chan - 10-29-2018, 01:19 AM
RE: List transpose using built-in? - Didier Lachieze - 10-31-2018 12:59 PM
RE: List transpose using built-in? - Tim Wessman - 10-31-2018, 01:04 PM
RE: List transpose using built-in? - Didier Lachieze - 10-31-2018, 01:38 PM
RE: List transpose using built-in? - compsystems - 10-31-2018, 01:55 PM
RE: List transpose using built-in? - StephenG1CMZ - 11-01-2018, 08:08 AM
|
User(s) browsing this thread: 1 Guest(s)