[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matrix reuse



Hi,

I use MatZeroEntries on the matrix, and then re-use it. I'm not sure what the gain in time is, though.

Berend.


Zhifeng Sheng wrote:
Dear all

In my application, I have small matrices that are created and destroied, those matrices are of the same nozero pattern.

I wonder if there is a way to reuse that matrices instead of destroy them every time.

Thank you

Best regards
Zhifeng Sheng