I came across a concept called dual norm in my optimization course, which I am not familiar with. I am trying to understand what it is and how to compute it.
from Wiki, the definition of the dual norm is,
Let ${\displaystyle \|\cdot \|}$ be a norm on ${\mathbb {R} ^{n}.}$ The associated dual norm, denoted $\|\cdot\|_{*}$ is defined as $$\|z\|_{*}=\sup \left\{z^{\top} x \mid\|x\| \leq 1\right\}$$
My questions are:
What is this dual norm used for, why do we need it?
Is that the primal norm can be any like 1-norm, 2-norm, inf-norm, and the dual norm is still defined as above?
How to compute this dual norm? Does Python or Matlab provide such a function? If not, I noticed that it is essentially an optimization problem, with an objective function: maximize:$z^{\top} x$, and an inequality constraint $\|x\| \leq 1$, can I compute it in this way?