Examples of Linear


Examples of org.jquantlib.math.interpolations.factories.Linear

            variances.set(j, value);
            QL.require(variances.get(j)>=variances.get(j-1) || !forceMonotoneVariance , "variance must be non-decreasing"); // QA:[RG]::verified // TODO: message
        }

        // default: linear interpolation
        factory = new Linear();
    }
View Full Code Here

Examples of org.jquantlib.math.interpolations.factories.Linear

    //
    // public constructors
    //

    public LogLinearInterpolation(final Array vx, final Array vy) {
        super.impl = new AbstractInterpolation.LogInterpolationImpl(vx, vy, new Linear());
        super.impl.update();
    }
View Full Code Here

Examples of org.jquantlib.math.interpolations.factories.Linear

            variances.set(j, value);
            QL.require(variances.get(j)>=variances.get(j-1) || !forceMonotoneVariance , "variance must be non-decreasing"); // TODO: message
        }

        // default: linear interpolation
        factory = new Linear();
    }
View Full Code Here

Examples of org.jquantlib.math.interpolations.factories.Linear

                        if (ts.interpolator().global()) {
                            throw new LibraryException("no chance to fix it in a later iteration");
                        }

                        // otherwise, if the target interpolation is not usable yet
                        ts.setInterpolation(new Linear().interpolate (new Array(times, i+1), new Array(data)));
                    }
                }
                // required because we just changed the data
                // is it really required?
                ts.interpolation().update();
View Full Code Here

Examples of org.jquantlib.math.interpolations.factories.Linear

  @BeforeClass
  public static void setUpLinearInterpolation(){
    QL.info("::::: Testing use of interpolations as functors... :::::");

    interpolation = new Linear().interpolate(x, y);
    interpolation.update();
      length = x2.size();
      y2 = new double[length];
      tolerance = 1.0e-12;
  }
View Full Code Here

Examples of org.neuroph.core.transfer.Linear

public class InputNeuron extends Neuron {
  private static final long serialVersionUID = 1L;


  public InputNeuron() {
            super(new WeightedSum(), new Linear());
        }
View Full Code Here

Examples of org.pushingpixels.trident.ease.Linear

    this.stateStack = new Stack<TimelineState>();
    this.stateStack.push(TimelineState.IDLE);
    this.doneCount = 0;

    this.ease = new Linear();
  }
View Full Code Here

Examples of org.pushingpixels.trident.ease.Linear

     * Creates a new instance of KeyInterpolators
     */
    KeyInterpolators(int numIntervals, TimelineEase... interpolators) {
        if (interpolators == null || interpolators[0] == null) {
            for (int i = 0; i < numIntervals; ++i) {
                this.interpolators.add(new Linear());
            }
        } else if (interpolators.length < numIntervals) {
            for (int i = 0; i < numIntervals; ++i) {
                this.interpolators.add(interpolators[0]);
            }
View Full Code Here

Examples of tv.floe.metronome.classification.neuralnetworks.activation.Linear

import tv.floe.metronome.classification.neuralnetworks.activation.Linear;

public class InputNeuron extends Neuron {

    public InputNeuron() {
        super(new WeightedSum(), new Linear());
    }
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.