Timeline for How to write or extend operators like $*\!\!*$
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2015 at 4:41 | vote | accept | Ennar | ||
Oct 19, 2015 at 0:39 | history | edited | m_goldberg | CC BY-SA 3.0 |
edited title
|
Oct 19, 2015 at 0:21 | answer | added | m_goldberg | timeline score: 4 | |
Oct 17, 2015 at 22:05 | comment | added | Ennar |
@march, thank you. I already knew that NonCommutativeMultiply is associative, but I didn't know about Flat Attribute .
|
|
Oct 17, 2015 at 22:03 | comment | added | Ennar | @SjoerdC.deVries, thank you, I'll need some time to go through that. | |
Oct 17, 2015 at 22:01 | comment | added | march |
As far as mimicking associativity, NonCommutativeMultiply already has the attribute Flat , which is (I think) Mathematica's way of mimicking associativity. In the documentation for Flat : f[f[a, b], f[c, f[d, e]]] automatically becomes f[a, b, c, d, e] if f has the Flat Attribute .
|
|
Oct 17, 2015 at 21:58 | comment | added | Sjoerd C. de Vries | Does this link help? | |
Oct 17, 2015 at 21:55 | review | First posts | |||
Oct 17, 2015 at 21:56 | |||||
Oct 17, 2015 at 21:51 | history | asked | Ennar | CC BY-SA 3.0 |