Tests a given polynomial for being primitive.
IppStatus ippsPolyGFPrimitive_8u(const IppsPoly_GF8u* pPoly, IppBool isIrreducible, IppBool* pIsPrimitive);
pPoly |
Pointer to the polynomial to be tested. |
isIrreducible |
The apriory-knowledge flag. If isIrreducible==ippTrue then pPoly is definetely irreducible. |
pIsPrimitive |
Pointer to the result of the primitivity test |
This function is declared in the ippdi.h file. The function checks primitivity of the given polynomial. If isIrreducible==ippTrue, the function checks irreducibility of the polynomial first.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error condition if the specified context pPoly is not valid. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.