I need to use the kspsolve(A,b,x) repeatly in my code in the following style. but i have noticed from the system load monitor that during the code running, it allocate new memeory every step.
I use the default setting for the PC. Could you please told me how to resolve this problem. for (int i=0;i<maxit;i++) { MatsetValues( ).... kspsolve(A,b,x) }