[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: usage of MatPreallocInitialize/MatPreallocFinalize
"Yaron Kretchmer" <YKRETCHM@altera.com> writes:
> Hi All
> How does one use MatPreallocInitialize/MatPreallocFinalize? Any code
> examples? The documentation is a bit sketchy
These are internal routines. You would use Mat<type>SetPreallocation(),
like MatSeqAIJSetPreallocation().
Matt
--
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness