Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6592 Discussions

correct size of tmp array for DFGMRES?

gregfi04
Beginner
129 Views
Hello,

I'm seeing two different sizes listed for the "tmp" array supplied to DFGMRES:

((2*ipar(15)+1)*n+ipar(15)*ipar(15)+9)/2 + 1) from here, and

((2*ipar(15)+1)*n+ipar(15)*(ipar(15)+9)/2 + 1)) from here.

What is the correct size of "tmp"?

Thanks,
Greg
0 Kudos
1 Reply
Alexander_K_Intel2
129 Views
Hi Greg,
In the first variant number of left brackets is not equal to number of right brackets so only the second variant could be correct :)
With best regards,
Alexander Kalinkin
Reply