https://github.com/lnsp/julia-experiments
A small collection of Julia experiments
https://github.com/lnsp/julia-experiments
Last synced: about 1 year ago
JSON representation
A small collection of Julia experiments
- Host: GitHub
- URL: https://github.com/lnsp/julia-experiments
- Owner: lnsp
- License: mit
- Created: 2015-12-25T23:19:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T23:21:22.000Z (over 10 years ago)
- Last Synced: 2025-02-11T16:43:07.288Z (over 1 year ago)
- Language: Julia
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Julia Experiments
A small collection of Julia experiments I created while learning Julia. Please take that into consideration while reviewing the code, I am open to any optimizations as long as they don't obliterate the code.
## Finished experiments
### zeckendorf.jl
A small piece of code implementing Zeckendorf's theorem. Who does not know of it, *[Zeckendorf's theorem](https://en.wikipedia.org/wiki/Zeckendorf%27s_theorem)* is a proven theorem stating that every non-negative integer N can be represented by a sequence of Fibonacci numbers which can be encoded as a binary string.
## How to run
Every experiment folders contains one or more source files and at least one test files. Most of the experiments are made for the REPL-use, so feel free to `include` the main source file (the one with the experiment's name).
You can test the experiments by running `julia [experiment]_test.jl` and replace `[experiment]` with the experiment.
> **Example:** To test the zeckendorf.jl experiment run `julia zeckendorf_test.jl`