Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

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

zzzhhh
Beginner
2,800 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
2,800 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
2,800 Views

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

0 Kudos
zzzhhh
Beginner
2,800 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
2,800 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
2,801 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
2,800 Views

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

0 Kudos
Reply