Timeline for Dimensions --- counter-intuitive?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 9, 2021 at 9:44 | comment | added | user3257842 |
Perhaps TensorDimensions would be better used in this context.
|
|
Nov 15, 2017 at 10:48 | history | edited | J. M.'s missing motivation♦ |
edited tags
|
|
Apr 4, 2017 at 11:19 | history | tweeted | twitter.com/StackMma/status/849219942130089987 | ||
Apr 4, 2017 at 10:21 | vote | accept | user32416 | ||
Apr 4, 2017 at 10:11 | answer | added | LLlAMnYP | timeline score: 14 | |
Apr 4, 2017 at 9:43 | comment | added | J. M.'s missing motivation♦ |
You might consider doing a preliminary test with ArrayQ[] .
|
|
Apr 4, 2017 at 9:39 | comment | added | Kuba |
So you would like Dimensions which only respects List head? Good question.
|
|
Apr 4, 2017 at 9:29 | comment | added | user32416 |
@Kuba I see. Once I look at the FullForm , I see that the first and second case yield wildly different forms. But is there a function in Mathematica where if I literally want to just "count dimensions", they would both yield the same result? For instance, as far as I can tell, in Mathematica, an $n \times m$ matrix of known constants and unknown constants yield the same answer in Dimensions .
|
|
Apr 4, 2017 at 9:27 | comment | added | Kuba |
Dimensions does not only work with lists. Take a look at FullForm of expressions you use in Dimensions .
|
|
Apr 4, 2017 at 9:25 | history | asked | user32416 | CC BY-SA 3.0 |