|Re: [eigen] inf-norm of complex-matrix columns|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
I think either
is what you want. With complex numbers, the latter version is probably faster
since it computes fewer square roots.
Am Donnerstag 03 Juni 2010, 21:21:38 schrieb Manoj Rajagopalan:
> Can someone help me come up with an expression to calculate the
> infinity-norm of the columns of a matrix, treated as vectors? I want to
> calculate the modulus of the complex entries in each column, and the
> maximum within that column. Therefore, my result should be a
> vector-expression whose length is the number of rows. In the following
> case, 4.
> MatrixXcd M(5,4);