Package org.jquantlib.math

Examples of org.jquantlib.math.RegularisedIncompleteBeta.evaluate()


    for (final double[] value : values) {
      final double a = value[0];
      final double b = value[1];
      final double x = value[2];
      final double expected = value[3];
      final double realised = beta.evaluate(x, a, b);
      if (Math.abs(expected-realised)>1.0e-6)
        fail("x: " + x + " expected: " + expected + " realised: " + realised);
    }
  }
}
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.