Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

riso.approximation
Class IntegralHelperFactory  view IntegralHelperFactory download IntegralHelperFactory.java

java.lang.Object
  extended byriso.approximation.IntegralHelperFactory

public class IntegralHelperFactory
extends java.lang.Object


Constructor Summary
IntegralHelperFactory()
           
 
Method Summary
static riso.numerical.IntegralHelper make_helper(riso.numerical.Callback_nd fn, double[] a, double[] b, boolean[] is_discrete, boolean[] skip_integration)
          Choose an appropriate kind of integral helper for computing integrals in RISO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegralHelperFactory

public IntegralHelperFactory()
Method Detail

make_helper

public static riso.numerical.IntegralHelper make_helper(riso.numerical.Callback_nd fn,
                                                        double[] a,
                                                        double[] b,
                                                        boolean[] is_discrete,
                                                        boolean[] skip_integration)
Choose an appropriate kind of integral helper for computing integrals in RISO. In one dimension, the helper is a QAGS helper (with limit=1, which means only 21 function evaluations will be used). Otherwise (in zero or in two or more dimensions), it's a quasi Monte Carlo helper.