Is there a way to make <a,b,c>
behave like {a,b,c}
, but remain displayed as <a,b,c>
(short of setting up new rules for every operation involving such a list that I care about)?
Note: I've typed "<" and ">" here for readability, but really mean \[LeftAngleBracket]
and \[RightAngleBracket]
. That, way, I could write expressions that look like the normal vector-of-components notation that my intro physics students see in their textbook, but Mathematica would treat as the three-element lists that are the normal way to represent vectors (e.g., to distribute scalar multiplication, calculate dot and cross products, etc.).
I don't know where to start. The kinds of rules I've learned to define seem designed to replace one symbol with its equivalent, rather than simply treating it as its equivalent. I have a feeling this is easy, but it's a side of Mathematica I haven't learned about yet. Can anyone point me in the right direction?