Multiple same-size linear solver
Sometime we need to solve a bunch of small linear (least-square) systems of the same size. This function can accomplish this task conveniently.
The system matrix and RHS are passed as 3D arrays.
Furthermore, calling syntax can support two simplifications:
- same RHS for all systems; or
- single RHS for each system.
Followed an idea from Tim Davis (using sparse)
Zitieren als
Bruno Luong (2024). Multiple same-size linear solver (https://www.mathworks.com/matlabcentral/fileexchange/24260-multiple-same-size-linear-solver), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Linear Algebra >
Tags
Quellenangaben
Inspiriert: Inversion every 2D slice for arbitrary Multi-dimension array.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
MultiSolverFolder/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.0 | Correct miss-leading MultiProd H1 line |
||
1.2.0.0 | - A wrapper to call with arrays that loop on the third dimension
|
||
1.1.0.0 | Minor typo correction |
||
1.0.0.0 |