Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

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

zzzhhh
Beginner
1,231 Views

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
1,231 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

0 Kudos
5 Replies
Gennady_F_Intel
Moderator
1,231 Views

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

0 Kudos
zzzhhh
Beginner
1,231 Views

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

0 Kudos
Nadezhda_M_Intel
Employee
1,231 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.

 

0 Kudos
Nadezhda_M_Intel
Employee
1,232 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.

0 Kudos
zzzhhh
Beginner
1,231 Views

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

0 Kudos
Reply