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.
Citation pour cette source
Bruno Luong (2026). Small size linear solver (https://fr.mathworks.com/matlabcentral/fileexchange/27762-small-size-linear-solver), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Sparse Matrices >
Tags
Remerciements
Inspiré par : MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
SmallSizeSolver/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Make sure calling MTIMESX with SPEED option
|
||
| 1.0.0.0 |
