plpolc

find the coefficients of the polynomial calculated by plpolf/plpoly

parametertypeunitsdescription
coeffdouble*--array receiving polynomial coefficients
returns:void

Description

plpolc returns, in coeff the normal coefficients of a polynomial calculated by plpoly or plpolf. Note that the array of coefficients is to be declared double.

See also

plpoly plpolf

Examples

The following Simplot-program does not call plinit, because there is nothing to plot. It calculates the same polynomial as the example in the manual page
n=4 
plrdx n 1991 1991.5 1992 1992.1
plrdy n 800 700 1600 2200
plpolf n 2
plpolc

prints the following:
exp coeff
  0 9801503565.8875
  1 -9844259.1106
  2 2471.8004
which tells that the equation of the polynomial is:

y = 9801503565.8875 - 9844259.1106 x + 2471.8004 x2