- Install Python
- Clone the repo
- Run `cargo build --release
- Run the binary in Command Prompt (Windows) or the terminal (MacOS/Linux) with the proper arguments
- Windows Example:
target/release/bowseq.exe 0 1
- MacOs/Linux Example:
./target/release/bowseq 0 1
- Windows Example:
Bow Sequence Generator 0.1.2
Usage: bowseq <alpha_term> <beta_term> [options]
Options:
-count <count> Amount of rows you would like generated (defaults to 10)
-type <string> Representation of the numbers in the sequence (int, float, alphabeta)
-rowFormat Log the sequence with row formatting in rows.txt
-find <num> Returns the indexes where a specific value appears
-minmax Returns the maximum and minimum values in the sequence
-sum Returns the sum of the entire sequence
-mean Returns the average value of the entire sequence
Since the amount of terms generated is doubled for each additional row, a small amount of rows leads a large amount of RAM being used. Here are some examples:
- 27 Rows : 4 GB
- 28 Rows : 8 GB
- 29 Rows : 16 GB
- 30 Rows : 32 GB
- etc...
These are all based on the use of 32-bit integers. 64-bit floats are used, so double the usage when making alpha and/or beta a decimal.