Timeline for Prevent an expression from evaluating a certain way (pattern-matching?)
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 31, 2019 at 1:47 | history | edited | Tanner Legvold | CC BY-SA 4.0 | added 271 characters in body |
| Dec 30, 2019 at 17:28 | vote | accept | Tanner Legvold | ||
| Dec 30, 2019 at 17:25 | history | edited | Tanner Legvold | CC BY-SA 4.0 | added 1847 characters in body |
| Dec 30, 2019 at 14:46 | comment | added | Mr.Wizard | Related: (19067) | |
| Dec 30, 2019 at 14:35 | answer | added | Mr.Wizard | timeline score: 2 | |
| Dec 30, 2019 at 14:10 | history | edited | Mr.Wizard | CC BY-SA 4.0 | deleted 72 characters in body |
| Dec 30, 2019 at 7:04 | history | edited | Tanner Legvold | CC BY-SA 4.0 | added 2 characters in body |
| Dec 30, 2019 at 7:01 | comment | added | Tanner Legvold | @m_goldberg In this example I could change to CenterDot, CircleTimes, and CirclePlus and it would solve that problem, and I probably will in the long run. But I am restricted in what I can use as operators by the preferences, and I think the same problem will remain because I am still stuck using Times for multiplication by a scalar (unless I use something wacky as the dot product operator). I'm trying to avoid using something heavy duty like the Notation package. Theres got to be some way to tell MMA how to evaluate an expression of the listed form. | |
| Dec 30, 2019 at 1:42 | comment | added | m_goldberg | Messing with the definitions of basic functions such as Plus, Times and Dot is always a bad idea. | |
| Dec 29, 2019 at 21:44 | comment | added | Tanner Legvold | @Nasser Ya your right. I could just use parentheses explicitly and maybe its a good idea to do that instead. But in typical usage that sort of thing isn't necessary because we understand immediately the expression y Overhat[y] to be a vector; unlike Mathematica and (my implementation of) Vector. Also (and this is a little lazy) I wanna avoid having to use parentheses with almost all applications of Dot. | |
| Dec 29, 2019 at 20:03 | comment | added | Nasser | you can always use () to control precedence. Can you not write Overhat[x].(y Overhat[y]) for example? | |
| Dec 29, 2019 at 19:11 | history | asked | Tanner Legvold | CC BY-SA 4.0 |