Ejemplo n.º 1
0
  public static double[] eval(double[] dest, NslDouble1 num, int start, int end) {

    double[] _data = num.get();

    if (start < 0) start = 0;
    if (end > _data.length) end = _data.length;

    return eval(dest, _data, start, end);
  }
Ejemplo n.º 2
0
  // 2
  public static double[] eval(NslDouble1 num, int start, int end) {

    double[] _data = num.get();

    if (start < 0) start = 0;
    if (end > _data.length) end = _data.length;

    int length = end - start + 1;

    return eval(new double[length], _data, start, end);
  }