Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized and reworded the algorithm #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hernajo2
Copy link

The new algorithm is not only more efficient than the previous one, but it is also much easier for the user to read and to understand. Basically, this is now a useful function in order to calculate the factorization of prime numbers. There are some erros that will show up if the number introduced by the user is not an integer higher than 1.

@hernajo2 hernajo2 changed the title I changed the prime_factorial.m file into a function with a more advanced algorithm Optimized and reworded the algorithm Dec 17, 2024
The new algorithm is more efficient and much easier for the user to read and to understand. This is now a useful function in order to calculate the factorization of prime numbers, with some errors that will show up if the number introduced by the user is not an integer higher than 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant