This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Custom allocator for LDLT

Tags: None
(comma "," separated)
bbales
Registered Member
Posts
2
Karma
0

Custom allocator for LDLT

Mon Jul 09, 2018 2:52 pm
Is there a way to supply raw buffers for the LDLT class in the same way that raw buffers can be used for the Matrix classes (https://eigen.tuxfamily.org/dox/group__ ... Class.html)?

Even if I do an inplace LDLT on a mapped matrix, then the transposition matrix will be allocated on the regular C++ heap.

The issue is in the application I'm working on we need to use a custom allocator.

If not, what might be the easiest way to work around this? Could I subclass LDLT and just take over the allocation of the different heap variables? That might be easier to maintain than trying to pull the data out of the LDLT class and reproducing the solve code elsewhere.

Thanks!
Ben
bbales
Registered Member
Posts
2
Karma
0

Re: Custom allocator for LDLT

Mon Jul 09, 2018 2:54 pm
Whoops, sorry, I read the "Read This First Post" after making my post. I'll just put it on Stackoverflow.

Sorry! (and Thanks!)

Edit: for anyone that comes looking, here is the stackoverflow thread: https://stackoverflow.com/questions/512 ... r-for-ldlt


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]