Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zzzhhh
Beginner
312 Views

What LAPACK function is available to calculate 2-norm of a matrix?

Jump to solution

What LAPACK function is available to calculate 2-norm (or spectral norm) of a matrix? Thank you.

0 Kudos
1 Solution
Nadezhda_M_Intel
Employee
312 Views

Unfortunately in LAPACK we don't have function for 2-norm.

Computations of spectral norm is very time-consuming task. Using "F" norm from ?lange function you can get fast upper estimation.

View solution in original post

5 Replies
Gennady_F_Intel
Moderator
312 Views

look at ?nrm2 routines, where ? == [s,d,c,z]

zzzhhh
Beginner
312 Views

That's BLAS level 1 routine, for vector norm only. But I was asking about matrix norm in LAPACK.

Nadezhda_M_Intel
Employee
312 Views

In LAPACK we have ?lange for general matrix and ?lan[sy/he] for symmetric matrices. Using these functions you can get: 1-norm, Frobenius and infinity norms.

 

Nadezhda_M_Intel
Employee
313 Views

Unfortunately in LAPACK we don't have function for 2-norm.

Computations of spectral norm is very time-consuming task. Using "F" norm from ?lange function you can get fast upper estimation.

View solution in original post

zzzhhh
Beginner
312 Views

Thanks, Nadezhda Mozartova. I have to use 2-norm. This is not something I have control over.

Reply