Community
cancel
Showing results for 
Search instead for 
Did you mean: 
gregfi04
Beginner
51 Views

correct size of tmp array for DFGMRES?

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
51 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