Small size linear solver

Linear solver of multiple 2x2 and 3x3 systems

現在この提出コンテンツをフォロー中です。

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.

引用

Bruno Luong (2026). Small size linear solver (https://jp.mathworks.com/matlabcentral/fileexchange/27762-small-size-linear-solver), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support

カテゴリ

Help Center および MATLAB AnswersSparse Matrices についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.1.0.0

Make sure calling MTIMESX with SPEED option
Modification of H1 lines

1.0.0.0