https://github.com/devwannabe-dot/algorithm-nexus
Multiple algorithms I've wrote on top of my study routine, in order to help demonstrate or even solve different branches of general problems, using computer science.
https://github.com/devwannabe-dot/algorithm-nexus
c cpp math physics processing
Last synced: about 1 month ago
JSON representation
Multiple algorithms I've wrote on top of my study routine, in order to help demonstrate or even solve different branches of general problems, using computer science.
- Host: GitHub
- URL: https://github.com/devwannabe-dot/algorithm-nexus
- Owner: DevWannabe-dot
- Created: 2023-12-03T18:38:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T23:15:59.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T05:24:44.370Z (over 1 year ago)
- Topics: c, cpp, math, physics, processing
- Language: C
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# algorithm-nexus
Multiple algorithms I've wrote on top of my study routine, in order to solve or help demonstrate different branches of general problems, using computer science.
# Usage
Reading /docs code is advised.
#### analyticDecompositionV.c
`$ gcc analyticDecompositionV.c -lm -oanalyticDecompositionV`
`$ ./analyticDecompositionV compose 30 40`
`$ ./analyticDecompositionV decompose 130 67.5`
#### primeFactorization.c
`$ gcc primeFactorization.c -lm -oprimeFactorization`
`$ ./primeFactorDecomposition 770`
#### generateMegaSena.c
`$ gcc generateMegaSena.c -ogenerateMegaSena`
`$ ./generateMegaSena 6 60`
#### xor_swap.c
`$ gcc xor_swap.c -lm -oxor_swap`
`$ ./xor_swap 8 80`
#### bit_shift.cpp
`$ g++ bit_shift.cpp -obit_shift`
`$ ./bit_shift`
#### squareDigitSum.cpp
`$ g++ squareDigitSum.cpp -osquareDigitSum`
`$ ./squareDigitSum`
#### game.pde
Run [Processing](https://processing.org/download), open the source file and debug. Any `keyPressed` signal while window is `focused` should update the cellular automata.
#### euclidAlgorithm.cpp
`$ g++ -DEXTERN_XOR_SWAP euclidAlgorithm.cpp xor_swap.c -lm -oeuclidAlgorithm`
`$ ./euclidAlgorithm 162 372`