c_invert - Inverts a first order bivariate polynomial

SYNTAX

FUNCTION c_invert (incoef, outcoef)

     double               *incoef;
     double               *outcoef;

PARAMETERS

incoef (input, double)

Array of first order polynomial coefficients.

outcoef (output, double)

Array of inverted first order polynomial coefficients.

DESCRIPTION

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]

RETURN VALUE

c_invert() returns

     E_SUCC (0) --> successful completion
     E_FAIL (-1) --> operation failed

SPECIAL CONSIDERATIONS:

The c_invert() call is for C only.