FUNCTION c_invert (incoef, outcoef)
double *incoef;
double *outcoef;
Array of first order polynomial coefficients.
Array of inverted first order polynomial coefficients.
c_invert() finds the inverse of first order bivariate polynomial coefficients. The polynomial coefficients in incoef are applied as:
y' = incoef[0]y + incoef[1]x + incoef[2]
x' = incoef[3]y + incoef[4]x + incoef[5]
After a call to c_invert(), outcoef is applied as:
y = outcoef[0]y' + outcoef[1]x' + outcoef[2]
x = outcoef[3]y' + outcoef[4]x' + outcoef[5]
c_invert() returns
E_SUCC (0) --> successful completion
E_FAIL (-1) --> operation failed
The c_invert() call is for C only.