Small size linear solver
Solve multiple (2x2) or (3x3) linear systems:
A(:,:,k)*X(:,:,k) = B(:,:,k) for k=1,2,...,N
The method used here is basic cofactor/determinant.
DISADVANTAGE: This method may be less accurate than Matlab backslash (using in for-loop) when the matrices are ill-conditioned.
ADVANTAGE: for a large number of systems - the speed-up is about 15-30 fold.
Zitieren als
Bruno Luong (2026). Small size linear solver (https://de.mathworks.com/matlabcentral/fileexchange/27762-small-size-linear-solver), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Sparse Matrices >
Tags
Quellenangaben
Inspiriert von: MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | Make sure calling MTIMESX with SPEED option
|
||
| 1.0.0.0 |
