Though the builtin function is sufficiently fast for practical purposes, this particular implementation is faster by a factor of 100 to 300 across a range of 6 to 13 digits. This is intended to be an interesting function rather than an attempt to replace anything. If a consistently faster method than this can be shown, I'll happily adapt this in the spirit of competition.
引用
Gatech AE (2024). gcdFast (https://www.mathworks.com/matlabcentral/fileexchange/79209-gcdfast), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2020a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0 |