Examples of calcDeriv()


Examples of flanagan.interpolation.CubicSpline.calcDeriv()

                     for(int ii=0; ii<nxpoints; ii++){
                          ycs[ii]=this.data[kk+1][ii];
                    }

                    cs.resetData(xcs, ycs);
                    cs.calcDeriv();
                    xoldpoint=xBot+(int)(((xcs[0]-xLow)/xdenom)*xLen);
                    yoldpoint=yBot-(int)(((ycs[0]-yLow)/ydenom)*yLen);
                    for(int ii=1; ii<niPoints; ii++){
                           xnewpoint=xBot+(int)(((ics[ii]-xLow)/xdenom)*xLen);
                          ynewpoint=yBot-(int)(((cs.interpolate(ics[ii])-yLow)/ydenom)*yLen);
 
View Full Code Here

Examples of flanagan.interpolation.CubicSpline.calcDeriv()

                          ics[ii]=ics[ii-1]+csstep;
                    }
                    ics[niPoints-1] = ycs[nxpoints-1];

                    cs.resetData(ycs, xcs);
                    cs.calcDeriv();
                    xoldpoint=xBot+(int)(((xcs[0]-xLow)/xdenom)*xLen);
                    yoldpoint=yBot-(int)(((ycs[0]-yLow)/ydenom)*yLen);
                    for(int ii=1; ii<niPoints; ii++){
                          ynewpoint=yBot+(int)(((ics[ii]-yLow)/ydenom)*yLen);
                          xnewpoint=xBot-(int)(((cs.interpolate(ics[ii])-xLow)/xdenom)*xLen);
 
View Full Code Here

Examples of flanagan.interpolation.CubicSpline.calcDeriv()

    yt[1]=CubicSpline.interpolate(temperature, temp, rfInRe2, derivRe2);
    yt[2]=CubicSpline.interpolate(temperature, temp, rfInRe3, derivRe3);

    // cubic spline interpolation with respect to wavelength
    CubicSpline cs = new CubicSpline(wavl, yt);
    cs.calcDeriv();
    yRe = cs.interpolate(wavelength);

      return yRe;
    }
View Full Code Here

Examples of flanagan.interpolation.CubicSpline.calcDeriv()

                     for(int ii=0; ii<nxpoints; ii++){
                          ycs[ii]=this.data[kk+1][ii];
                    }

                    cs.resetData(xcs, ycs);
                    cs.calcDeriv();
                    xoldpoint=xBot+(int)(((xcs[0]-xLow)/xdenom)*xLen);
                    yoldpoint=yBot-(int)(((ycs[0]-yLow)/ydenom)*yLen);
                    for(int ii=1; ii<niPoints; ii++){
                           xnewpoint=xBot+(int)(((ics[ii]-xLow)/xdenom)*xLen);
                          ynewpoint=yBot-(int)(((cs.interpolate(ics[ii])-yLow)/ydenom)*yLen);
 
View Full Code Here

Examples of flanagan.interpolation.CubicSpline.calcDeriv()

                          ics[ii]=ics[ii-1]+csstep;
                    }
                    ics[niPoints-1] = ycs[nxpoints-1];

                    cs.resetData(ycs, xcs);
                    cs.calcDeriv();
                    xoldpoint=xBot+(int)(((xcs[0]-xLow)/xdenom)*xLen);
                    yoldpoint=yBot-(int)(((ycs[0]-yLow)/ydenom)*yLen);
                    for(int ii=1; ii<niPoints; ii++){
                          ynewpoint=yBot+(int)(((ics[ii]-yLow)/ydenom)*yLen);
                          xnewpoint=xBot-(int)(((cs.interpolate(ics[ii])-xLow)/xdenom)*xLen);
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.