Check if a given polynomial is primitive
-
04-11-2019 - |
문제
I try to estimate error detection capabilities of arbitrary CRC polynomials. One important criteria is if a given polynomial is primitive. So I need an algorithm to check that. My goal is to write a C or C++ routine.
Unfortunately I only found analytical solutions for the problem on the web.
Is there some numerical algorithm for testing a given polynomial for primitivity?
Please consider that my mathematical knowledge wasted away during the last two decades. Any algorithm descriptions, pseudo code or code in a common programming language would be very helpful.
올바른 솔루션이 없습니다
제휴하지 않습니다 cs.stackexchange