Examples of UnivariateRealFunction


Examples of org.apache.commons.math.analysis.UnivariateRealFunction

            String name,
            TrackAnalyzer.Quantity q,
            TrackAnalyzer ta) throws SAXException, IOException{

        ValueFunction vf = ColorFunctionFactory.createValueFunction(ta, q);
        UnivariateRealFunction hue = null;
        double ymin = Double.POSITIVE_INFINITY;
        double ymax = Double.NEGATIVE_INFINITY;

        if (q == TrackAnalyzer.Quantity.Bearing){
            hue = new UnivariateRealFunction(){
                @Override
                public double value(double bearing){
                    return DEFAULT_STARTHUE - Math.round(bearing)/360.;
                }
            };
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.