If I have a $n\times n$ matrix $A$ and a column vector $v$ of $n$ elements, I would like to define vector $x$ as:
$$x_{i} = \sqrt{\sum_{j}^{n}(A_{ij}v_{j})^{2}}$$
How can I write this in matrix form?
Is this ok, where $\circ$ is the Hadamard product?
$$x = \sqrt{A(v \circ v)}$$