-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reducing memory allocations #6
Comments
Great test! Thank you. |
btw @wo80 , where can i get the "ReusableLU" class? Im trying to include the test in the test-suite. Thanks! |
In #8 you are using operator overloads in the |
yes, thats the idea :) ! |
I played around with the
ILinearSolver
interface of thesparse-matrices
branch. Here's an implemetation which comes with zero additional memory allocations (using a custom LU implementation):It would be used like this:
As already mentioned in #2 (comment), there are a couple of places in the NonLinearEquationsSolver code, where further optimization can be done (memory allocations in an iterative process should always be reduced as much as possible).
That's also a point where CSparse.NET has to be improved, if it should be used efficiently with this library (at the moment, matrix factors cannot be reused).
The text was updated successfully, but these errors were encountered: