Package net.sourceforge.gpstools.math

Examples of net.sourceforge.gpstools.math.LinearFunction


                   if(minX == maxX){
                       throw new IllegalArgumentException("Identical x-values.");
                   }
                   double y0 = (maxX * minY - minX * maxY)/(maxX - minX);
                   double m = (maxY - minY)/(maxX - minX);
                   result = new TimeCalibration(minX, minY, maxX, maxY, new LinearFunction(y0, m));
                   break;
               default:
                   result = new TimeCalibration(minX, minY, maxX, maxY, super.interpolate(x, y));
           }
           return result;
View Full Code Here

TOP

Related Classes of net.sourceforge.gpstools.math.LinearFunction

Copyright © 2018 www.massapicom. 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.