Examples of PiecewisePolynomialResult2D


Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void nanX1MultiTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefs, new int[] {5, 4 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void constDiffX0Test() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsConst, new int[] {1, 1 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void constDiffX0MultiTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsConst, new int[] {1, 1 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void constDiffX1Test() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsConst, new int[] {1, 1 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void constDiffX1MultiTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsConst, new int[] {1, 1 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void linearDiffTwiceX0Test() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsLin, new int[] {2, 2 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void linearDiffTwiceX0MultiTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsLin, new int[] {2, 2 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void linearDiffTwiceX1Test() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsLin, new int[] {2, 2 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void linearDiffTwiceX1MultiTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsLin, new int[] {2, 2 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
View Full Code Here

Examples of com.opengamma.analytics.math.interpolation.PiecewisePolynomialResult2D

  /**
   *
   */
  @Test(expectedExceptions = IllegalArgumentException.class)
  public void constDiffCrossTest() {
    PiecewisePolynomialResult2D result = new PiecewisePolynomialResult2D(knots0, knots1, coefsConst, new int[] {1, 1 });
    PiecewisePolynomialFunction2D function = new PiecewisePolynomialFunction2D();

    final int n0Keys = 21;
    final int n1Keys = 31;
    double[] x0Keys = new double[n0Keys];
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.