The gto_real_to_binary_with_threshold converts a sequence of real numbers into a binary sequence, given a threshold. The numbers below to the threshold will be 0.
For help type:
In the following subsections, we explain the input and output paramters.
The gto_real_to_binary_with_threshold program needs two streams for the computation, namely the real sequence as input. These numbers should be splitted by lines.
The attribution is given according to:
Usage: ./gto_real_to_binary_with_threshold [options] [[--] args]
or: ./gto_real_to_binary_with_threshold [options]
It converts a sequence of real numbers into a binary sequence given a threshold.
-h, --help show this help message and exit
The threshold in real format
< input.num Input numeric file (stdin)
> output.bin Output binary file (stdout)
Example: ./gto_real_to_binary_with_threshold -t
< input.num > output.bin
An example of such an input file is:
The output of the gto_real_to_binary_with_threshold program is a binary sequence.
Using the input above with the threshold of 5.5, an output example for this is the following: