N
N
NikSIk312019-11-05 00:50:48
Algorithms
NikSIk31, 2019-11-05 00:50:48

Is Reed Solomon's code implemented correctly?

I found a program on github at https://github.com/wh1tew0lf/reed-solomon
(it contains 1 file with several functions)
This program, according to the idea, should implement Reed Solomon's codes. But the trouble is, I looked at the algorithm and remember that by coding information according to Reed, we got a vector with basic information and redundant information.
Here, in the program, a vector is obtained in which the main information does not come first. And there are some other numbers.
Please tell me what's wrong? Is this implementation wrong or am I missing something? If I missed something, I will be grateful if you tell me this moment!
Here is a screenshot of the output:
5dc09c7cb67cc306406668.png
Link to the file (I just commented out test(); and uncommented everything else in Main(), well, I added 7 to the end of the input vector):
https://github.com/wh1tew0lf/reed-solomon/blob/mas...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question