Examples of errorEstimate()


Examples of de.torstennahm.integrate.IntegrationResult.errorEstimate()

    } else if (data instanceof NewResult) {
      IntegrationResult result = ((NewResult) data).result;
      synchronized (resultList) {
        if (calls < 100 || result.functionCalls() >= calls * SAMPLEFACTOR) {
          calls = result.functionCalls();
          resultList.add(new ResultEntry(calls, result.value(), result.errorEstimate()));
          resultPanel.repaint();
        }
        estimator.log(result.functionCalls(), result.value());
      }
    }
View Full Code Here

Examples of de.torstennahm.integrate.IntegrationResult.errorEstimate()

    } else if (data instanceof StartIntegration) {
      millisStart = System.currentTimeMillis();
    } else if (data instanceof StopIntegration) {
      millisEnd = System.currentTimeMillis();
      IntegrationResult result = ((StopIntegration) data).result;
      System.out.println((integrand == null ? "Unknown" : integrand.toString()) + "\t" + result.value() + "\t" + result.errorEstimate() + "\t" + (millisEnd - millisStart));
    }
  }
}
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.