next up previous contents_motif.gif
Next: 8.18.14 module2(c): Up: 8.18 Timing: Previous: 8.18.12 distsq(x1,y1,x2,y2):

8.18.13 solvePoly(order,dataX,dataY):

solvePoly $<$ Timing: $<$ Utilities.py

    NAM: solvePoly (function)
    DES: perform polyomial interpolation: solve linear system
         dataY = P_n(dataX)
    INP: (int) order : polynomial degree
         (flt arrays) dataX/Y : system to solve
    OUT: (flt array) coeff : polynomial coefficients





Frank Bertoldi 2005-11-10