PolyGFGCD

Computes the greatest common divisor of two polynomials.

Syntax

IppStatus ippsPolyGFGCD_8u(const IppsPoly_GF8u* pSrcA, const IppsPoly_GF8u* pSrcB, IppsPoly_GF8u* pGCD);

Parameters

pSrcA

Pointer to the first polynomial.

pSrcB

Pointer to the second polynomial.

pDCG

Pointer to the resulting polynomial.

Description

This function is declared in the ippdi.h file. The function computes the largest-degree polynomial that both given polynomials are divisible by.

Return Values

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 any of the specified contexts is not valid.

ippStsOutOfRangeErr

Indicates an error condition if maxDegree(pDst) < min(degree( pSrcA), degree(pSrcB)), where degree is the actual degree and maxDegree is the highest possible degree specified in the respective polynomial context.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.