Matrix Norm

Hi,

I want to determine norm of a 3x3 matrix (L2 norm by default). I could not find any explicit function in OCC which can do this. I will be very thankful if someone can suggest a way of doing in OCC.

Thanks

Mikael Aronsson's picture

You can always do it yourself, you have access to all the elements so you can sum them up yourself.

anupamseth's picture

Hi,

Remember that matrix norm of matrix A is defined as:
||A|| = sqrt(maximum eigenvalue of A'A)
where, A' = conjugate transpose

So, we can't just simply sum them up. By summing, I think that you are referring to L1 norm or the norm of a vector. Here we have a matrix.

Thanks

Mikael Aronsson's picture

Ah, that's true, my mistake.