Timeline for What are the disadvantages of being able to define a matrix without typing any words?
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2023 at 17:41 | history | edited | Alexis King♦ |
Removing [pros-cons] https://langdev.meta.stackexchange.com/questions/527/it-is-finally-time-to-burninate-pros-cons
|
|
Jun 1, 2023 at 16:43 | history | edited | kaya3 |
edited tags
|
|
S May 30, 2023 at 16:14 | history | suggested | pppery | CC BY-SA 4.0 |
Straight quotes; fix grammar
|
May 30, 2023 at 16:02 | review | Suggested edits | |||
S May 30, 2023 at 16:14 | |||||
May 30, 2023 at 12:57 | comment | added | Ray Butterworth | Aside: could there be any execution efficiency gained if the "matrix" keyword implied that the object is guaranteed to be rectangular, so the compiler or interpreter knows that all rows have the same length? | |
May 30, 2023 at 11:38 | comment | added | Bruce Adams | In fact I've decided to ask it - languagedesign.stackexchange.com/q/1290/285 | |
May 30, 2023 at 11:25 | comment | added | Bruce Adams | There is a more general question waiting to get out here "what is a good syntax for tensor initialisation?" | |
May 30, 2023 at 7:01 | comment | added | Adám |
I think you should distinguish between literal notation, as in [[1,9],[-2,1]] and a more declarative/computational notation like [[2,2],[1,9,-2,1] . Both have their merits, and a language can support either or both.
|
|
May 30, 2023 at 6:59 | comment | added | Adám |
Interestingly, APL, where matrices (and higher-dimensional arrays) are bread-and-butter, doesn't have a notation for them either (yet — I'm working on that), but does have a less noisy equivalent of the NumPy syntax: 1 3⍴1 9 ¯2 1 . However, this has lead APLers to develop several techniques to get literal matrices into their programs. None of their are particularly pleasant.
|
|
May 30, 2023 at 6:19 | answer | added | Michael Homer♦ | timeline score: 9 | |
May 30, 2023 at 6:19 | history | edited | Michael Homer♦ | CC BY-SA 4.0 |
syntax highlighting
|
May 30, 2023 at 5:32 | history | edited | Nike Dattani | CC BY-SA 4.0 |
added 24 characters in body
|
May 30, 2023 at 5:17 | history | asked | Nike Dattani | CC BY-SA 4.0 |