The mathematical notation for the magnitude of a vector is $\vert x \vert$, but this does not work:
∥ {1, 2, 3} ∥
Is there any way to overload the DoubleVerticalBar
symbol so my Mathematica code would look like a textbook formula?
The mathematical notation for the magnitude of a vector is $\vert x \vert$, but this does not work:
∥ {1, 2, 3} ∥
Is there any way to overload the DoubleVerticalBar
symbol so my Mathematica code would look like a textbook formula?