Package de.torstennahm.integrate.visualizerdata

Examples of de.torstennahm.integrate.visualizerdata.Integrand


  public IntegrationResult integrate(Function function, StopCondition condition, List<Visualizer> visualizers) {
    Series<double[]> series = generator.makeSeries(function.inputDimension());
   
    QMCResult result = new QMCResult();
   
    Visualizers.submitToList(visualizers, new Integrand(function));
    Visualizers.submitToList(visualizers, new StartIntegration());
   
    double sum = 0.0;
    int count = 0;
    while (! condition.stop(result)) {
View Full Code Here


  public IntegrationResult integrate(Function integrand, StopCondition condition, List<Visualizer> visualizers) throws IntegrationFailedException {
    int dimension = integrand.inputDimension();
   
    ProductResult result = new ProductResult();
   
    Visualizers.submitToList(visualizers, new Integrand(integrand));
    Visualizers.submitToList(visualizers, new StartIntegration());
   
    while (! condition.stop(result)) {
      int[] nodes = getNodesForEvals(dimension, result.points * 2 + 1);
      result.value = integrator.integrateWithNodes(integrand, nodes);
View Full Code Here

      public Set<IntegrationInfo> supplementalInfo() {
        return new HashSet<IntegrationInfo>();
      }
    };
   
    Visualizers.submitToList(visualizers, new Integrand(function));
    Visualizers.submitToList(visualizers, new StartIntegration());
   
    int count = 0;
    while (! condition.stop(result)) {
      for (int j = 0; j < dimension; j++) {
View Full Code Here

   
    IntegrationResult integrate() throws IntegrationFailedException {
      result = new SparseResult();
      Index zeroIndex = new FastIndex();
     
      Visualizers.submitToList(visualizers, new Integrand(evaluator));
      Visualizers.submitToList(visualizers, new StartIntegration());
     
      if (dimension == 0) {
        currentDimension = 1;
      } else {
View Full Code Here

    SparseResult result = new SparseResult();
   
    Queue<IndexData> queue = new PriorityQueue<IndexData>();
    Map<Index, IndexData> indexMap = new HashMap<Index, IndexData>();
   
    Visualizers.submitToList(visualizers, new Integrand(evaluator));
    Visualizers.submitToList(visualizers, new StartIntegration());
   
    Index zeroIndex = new FastIndex();
   
    if (! condition.stop(result)) {
View Full Code Here

   
    SparseResult result = new SparseResult();
   
    FlatIndexGenerator indexGenerator = new FlatIndexGenerator(evaluator.dimension());
   
    Visualizers.submitToList(visualizers, new Integrand(evaluator));
    Visualizers.submitToList(visualizers, new StartIntegration());
   
    lastValue = Double.NaN;
    int lastLevel = 0;
    while (! condition.stop(result)) {
View Full Code Here

   
    IntegrationResult integrate() throws IntegrationFailedException {
      result = new SparseResult();
      estimator = new FastConvergenceEstimator();

      Visualizers.submitToList(visualizers, new Integrand(evaluator));
      Visualizers.submitToList(visualizers, new StartIntegration());
     
      activateIndex(zeroIndex);
     
      while (! condition.stop(result)) {
View Full Code Here

TOP

Related Classes of de.torstennahm.integrate.visualizerdata.Integrand

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.