gcdFast
Version 1.0.0 (1,45 ko) par
Gatech AE
gcdFast.m finds the greatest common denominator using a Euclid's algorithm.
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.
Citation pour cette source
Gatech AE (2024). gcdFast (https://www.mathworks.com/matlabcentral/fileexchange/79209-gcdfast), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |