|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectq1471341.mp1074.integration.Integrator
q1471341.mp1074.integration.MonteCarloIntegrator
Performs Monte-Carlo integration, using the java.util.random to generate the inetrgation points.
Field Summary |
Fields inherited from class q1471341.mp1074.integration.Integrator |
TC_ABSOLUTE_TOLERANCE, TC_EVALUATION_COUNT, TC_EVALUATION_TIME, TC_RELATIVE_TOLERANCE |
Constructor Summary | |
MonteCarloIntegrator()
Constructs an instance of a Monte Carlo integrator. |
Method Summary | |
IntegrationResult |
integrate(Integrand f)
Performs the Monte Carlo integration of the integrand until one of the termination conditions is met. |
java.lang.String |
toString()
|
Methods inherited from class q1471341.mp1074.integration.Integrator |
getAbsoluteTolerance, getEvaluationCountLimit, getEvaluationTime, getRelativeTolerance, getTerminationCondition, setAbsoluteTolerance, setEvaluationCountLimit, setRelativeTolerance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MonteCarloIntegrator()
Method Detail |
public IntegrationResult integrate(Integrand f)
integrate
in class Integrator
f
- integrand function
IntegrationException
- if an integration error occurspublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |