I am trying to use LinearSolve for a matrix-free problem. I tried using the functionoperator from SciMLOperators and it does seem to work when doing matrix multiplication.
However when trying to solve a linear system it converges to the wrong answer. What am I doing wrong?
Sorry about that. There was a documentation mishap. The big warning sign on the last version of the SciMLOperators docs:
didn’t seem to make it to the deployed version. I just set the deployment tonight, so docs.sciml.ai should update. It will say on the first page:
SciMLOperators is not ready for prime time use yet. Be warned that any user is testing an early and possibly buggy form. This note will be removed when the library is officially released.
Which explains the issue. The other libraries just aren’t setup for it yet. There’s an issue which links to all of the PRs:
I do plan to get to it within the next few months, though the student who was working on this had to focus on quals for a bit so we put it on a small hiatus before finishing the integration. I’ll probably pick it back up again in January to complete this integration step.
Until we have it all integrated and there’s tests on all of the usage, I wouldn’t consider it ready to be used. The warning sign will come down and it’ll be marked as v1.0 when that’s all completed, but I’d stay away from SciMLOperators for now. I mentioned this in the chat channels a few weeks ago but I forgot to make a bigger signal on this, sorry.