Post Reply 
List transpose using built-in?
10-31-2018, 01:38 PM (This post was last modified: 10-31-2018 01:58 PM by Didier Lachieze.)
Post: #5
RE: List transpose using built-in?
Well, I agree that col(list, integer) may be extending a bit the definition of col(matrix, integer), but using a matrix instead of a list gives the same results:
  • col([[1,2,3],[4,5,6]],1) returns [2 5] on the Windows Virtual calc
  • col([[1,2,3],[4,5,6]],1) returns [1 4] on the the physical Prime and the Android app
both in Home and in CAS mode with the latest beta version.

EDIT: interestingly I restarted the CAS with 'restart' and now I get the expected [1 4] result on the Windows Virtual calc. However I didn't intentionally tried the Python syntax as far as I remember, or not in the recent past. Anyway, this is quite dangerous to have this kind of system wide setting being silently changed and being persistent with no user warning.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: List transpose using built-in? - Didier Lachieze - 10-31-2018 01:38 PM



User(s) browsing this thread: 1 Guest(s)