Package flanagan.interpolation

Examples of flanagan.interpolation.BiCubicSpline.interpolate()


            refind=refind2+(refind3-refind2)*concw/(5.0);
          }
        }
        else{
          BiCubicSpline bcs = new BiCubicSpline(tempw, weight, corrfac);
          corrfactor = bcs.interpolate(temperature, concw);
          concw=concw+corrfactor;
          concg=Sucrose.weightpercentToGperl(concw, temperature);
          refind=CubicSpline.interpolate(concg, concnG, refInd, deriv);
        }
      }
View Full Code Here


                    for(int j=0; j<lengthC85; j++){
                        array[i][j] = cs.interpolate(conc85[j]);
                    }
                }
                BiCubicSpline bcs = new BiCubicSpline(temp85, conc85, array);
                ret = Math.exp(bcs.interpolate(temperature, gPerL));
            }
            else{
                if(temperature>100.0){
                    throw new IllegalArgumentException("Temperature, " + temperature + ", out of range");
                }
View Full Code Here

                            array[i][j] = cs.interpolate(conc100[j]);

                        }
                    }
                    BiCubicSpline bcs = new BiCubicSpline(temp100, conc100, array);
                    ret = Math.exp(bcs.interpolate(temperature, gPerL));
                }
            }
        }
        else{
            if(temperature==20 && gPerL<=1208.2){
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.