| bio | website | |
|---|---|---|
| location | ||
| age | 27 | |
| visits | member for | 1 year |
| seen | 17 hours ago | |
| stats | profile views | 326 |
|
Dec 22 |
comment |
Quickly look-up usages, options and attributes of symbols The options panel seems very sluggish at times. If you are generating all usage cells when opening, perhaps it would help to delay the generation until it's opened the first time. A good symbol to see this on is CreatePalette |
|
Dec 21 |
awarded | Nice Answer |
|
Dec 21 |
comment |
Can Depth be used as an equivalent for MatrixQ? @wuber New users to mathematica don't yet know what levels are supposed to mean, they don't know intuitively what FullForm is. Most likely he saw a function like f[x_]/;Depth[x]-1 == 2 which should have been f[x_?MatrixQ]
I simply can't see the reason for closing a question because the person asking the question doesn't know enough about the system to answer it himself. His question contained everything needed though. He asked: Are they equivalent. The answer is no for reasons obvious to experienced users, but that doesn't make the question worth closing in my oppinion. |
|
Dec 21 |
comment |
Can Depth be used as an equivalent for MatrixQ? @roger For the purpose of timing expressions you should look at the doc pages for the function Timing |
|
Dec 21 |
comment |
Can Depth be used as an equivalent for MatrixQ? @whuber I think you are being exceptionally hars. While it's true that the answer is most likely not what was expected, it's still a valid question, and if someone was reading through code littered with the first check, which would work correctly some times but fail other times, it's worth asking if they are the same. |
|
Dec 21 |
answered | Can Depth be used as an equivalent for MatrixQ? |
|
Dec 21 |
revised |
Can I redefine a list as a set of variables? added 530 characters in body |
|
Dec 21 |
answered | Can I redefine a list as a set of variables? |
|
Dec 21 |
answered | How to make a Tooltip display dynamic based on a parameter value? |
|
Dec 21 |
revised |
More structure in Source Code/Notebooks deleted 2 characters in body |
|
Dec 21 |
answered | More structure in Source Code/Notebooks |
|
Dec 21 |
comment |
More structure in Source Code/Notebooks @warsaga Could you paste a small example of how you go from unctructured to structured code and where you think it gets confusing? I think you are looking for something resembling OOP for all the wrong reasons. |
|
Dec 20 |
comment |
Special Mathematica Cell to work with R code This should give you one such cell: CellPrint[TextCell["x + b", "Input", CellEvaluationFunction -> (REvaluate[#1] &)]]. I belive you shoud be able to define this on a stylesheet level however, but it's not working for me right now. |
|
Dec 19 |
comment |
MatrixForm explanation as why row extract is displayed as a column? @NasserM.Abbasi Very nice edit. |
|
Dec 19 |
comment |
MatrixForm explanation as why row extract is displayed as a column? @NasserM.Abbasi No offence taken! I just wanted to clarify that this isn't some cleaver trick that makes it come out like one would want it. It's the intended behavior and quite consistent. I sometimes feel like MATLABs defaults is a trick based on the assumption that people mainly deal with 2D matrices, thus they don't have lists of numbers, only rows or columns. |
|
Dec 19 |
comment |
MatrixForm explanation as why row extract is displayed as a column? @Lau Yes, Thank you. |
|
Dec 19 |
revised |
MatrixForm explanation as why row extract is displayed as a column? edited body |
|
Dec 19 |
comment |
MatrixForm explanation as why row extract is displayed as a column? @NasserM.Abbasi This isn't a trick. |
|
Dec 19 |
revised |
MatrixForm explanation as why row extract is displayed as a column? edited body |
|
Dec 19 |
answered | MatrixForm explanation as why row extract is displayed as a column? |