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

Question about the MKL LAPACK example on DSYEVR

Yuen__Patrick
Beginner
509 Views

In https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/dsyevr_ex.c.htm

int isuppz;

This array is declared with a size of N, the order of the matrix to be decomposed.

However, in the documentation https://software.intel.com/en-us/node/521126

'isuppz' is an array of size at least 2 *max(1, m), where m is the total number of eigenvalues found.

Would it be better to declared 'isuppz' with a size of 2 * N? Thank you.

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
509 Views

thanks, Patric. Yes, it probably makes sense but we align with the original lapack's (http://www.netlib.org/lapack/explore-html/d2/d8a/group__double_s_yeigen_gaeed8a131adf56eaa2a9e5b1e0cce5718.html) and then you may submit the similar query against netlib community. 

0 Kudos
Reply