SIZE()
|
06-23-2015, 10:39 AM
(This post was last modified: 06-23-2015 11:16 AM by Angus.)
Post: #1
|
|||
|
|||
SIZE()
SIZE(M) returns a list which contains the dimension of Matrix M.
When M is a vector SIZE() returns a list with one value? Is that a bug? I mean if M:=[1,2,3,4,5] SIZE(M) should be {1,5} and not {5}. How would I distinguish a vector from a matrix I think that is inconsistant. Or am I missing something? Thank you! edit: the promblem came up in a small program where I want to use SIZE(M1) as an integer value. No success. I then played with size in the homescreen like in the attachement. update: using length() works, but as i understood length writen in small letters is cas command. And SIZE is home command and should be priorized. And in home the question remains. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
SIZE() - Angus - 06-23-2015 10:39 AM
RE: SIZE() - Tim Wessman - 06-23-2015, 02:41 PM
RE: SIZE() - Angus - 06-24-2015, 08:17 AM
RE: SIZE() - Didier Lachieze - 06-24-2015, 08:37 AM
RE: SIZE() - Gerald H - 06-24-2015, 08:43 AM
RE: SIZE() - DrD - 06-24-2015, 11:45 AM
RE: SIZE() - Angus - 06-24-2015, 09:23 AM
RE: SIZE() - Gerald H - 06-24-2015, 10:35 AM
RE: SIZE() - Gerald H - 06-24-2015, 10:36 AM
RE: SIZE() - Angus - 06-24-2015, 10:55 AM
RE: SIZE() - Gerald H - 06-24-2015, 11:17 AM
RE: SIZE() - Gerald H - 06-24-2015, 12:13 PM
RE: SIZE() - Angus - 06-24-2015, 12:17 PM
RE: SIZE() - Gerald H - 06-24-2015, 12:23 PM
RE: SIZE() - Angus - 06-24-2015, 12:41 PM
RE: SIZE() - DrD - 06-24-2015, 02:51 PM
RE: SIZE() - Angus - 06-25-2015, 05:20 AM
RE: SIZE() - Gerald H - 06-25-2015, 06:35 AM
RE: SIZE() - Angus - 06-25-2015, 07:57 AM
RE: SIZE() - Gerald H - 06-25-2015, 10:02 AM
RE: SIZE() - Gerald H - 06-25-2015, 10:35 AM
RE: SIZE() - Angus - 06-25-2015, 10:45 AM
|
User(s) browsing this thread: 3 Guest(s)