Size of a list passed to a function?
|
04-14-2017, 02:58 PM
Post: #6
|
|||
|
|||
RE: Size of a list passed to a function?
(04-14-2017 02:17 PM)toml_12953 Wrote: I'm shooting for a program to automatically create a multi-dimensional list and am hoping to use a variable number of dimensions. This will create recursively a multi-dimensional list whose dimensions are passed as a list and initialized with 0: Code: EXPORT dimension(mylist) dimension({3,2,2}) returns {{{0,0},{0,0}},{{0,0},{0,0}},{{0,0},{0,0}}} |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Size of a list passed to a function? - toml_12953 - 04-14-2017, 12:30 PM
RE: Size of a list passed to a function? - Tyann - 04-14-2017, 12:43 PM
RE: Size of a list passed to a function? - toml_12953 - 04-14-2017, 02:17 PM
RE: Size of a list passed to a function? - Didier Lachieze - 04-14-2017 02:58 PM
RE: Size of a list passed to a function? - toml_12953 - 04-14-2017, 03:20 PM
RE: Size of a list passed to a function? - cyrille de brébisson - 04-14-2017, 02:29 PM
RE: Size of a list passed to a function? - toml_12953 - 04-14-2017, 02:42 PM
|
User(s) browsing this thread: 1 Guest(s)