General MEX Implementation of Thomas' Algorithm

MEX (C/C++) Implementation of Thomas Algorithm (or Tridiagonal Matrix Algorithm) for real and complex data.

https://github.com/michael-nix/MATLAB-MEX-Thomas-Algorithm

Download
Download

You are now following this Submission

Cite As

oreoman (2026). General MEX Implementation of Thomas' Algorithm (https://github.com/michael-nix/MATLAB-MEX-Thomas-Algorithm), GitHub. Retrieved .

Acknowledgements

Inspired by: Implementation of Thomas algorithm, mex, tridiag.m

General Information

MATLAB Release Compatibility

  • Compatible with R2018a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.7.0

Connecting to GitHub...

Download
2.7.0-1

Of course I forgot a few important comments on how to compile the MEX thread pool stuff so... fixed.

Download
2.7.0-0

Added in a version that includes use of new persistent Thread Pool code for multi-threading, greatly speeding up smaller 2D and 3D problems.

Download
2.6.5

Fixed a stupid logic error for 3D problems.

Download
2.6.0

Added additional error checking, and updated some notes on multi-threading performance.

Download
2.5.0

Added in limited multi-threading support, with underwhelming results.

Download
2.0.0

Updated to include real data too, and to handle multi-dimensional problems without the need for permutation and reshaping of inputs / outputs.

Download
1.0.0

Added in some error checks so things don't just crash MATLAB if you're off by a little bit.

Download
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.