예제 #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);
  }
예제 #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);
  }
 public double[] eval(double[] dest, NslDouble1 a, NslDouble1 b) {
   return eval(dest, a.getdouble1(), b.getdouble1());
 }
 public double[] eval(NslDouble1 a, NslDouble1 b) {
   return eval(a.getdouble1(), b.getdouble1());
 }
 public double[] eval(double a, NslDouble1 b) {
   return eval(a, b.getdouble1());
 }
 public double[] eval(NslDouble1 a, double b) {
   return eval(a.getdouble1(), b);
 }
예제 #7
0
 // NslDouble 1d NslNumeric
 public static double eval(double dest, NslDouble1 _data, int i) {
   dest = _data.getdouble(i);
   return dest;
 }