public int superSize() { return super.size(); }
/** * Computes the repeat count of n-th X-axis. */ public int repeatX(int n) { int w = 1; for( n--; n>=0; n-- ) w *= x.get(n).size(); return w; }
/** * Computes the repeat count of n-th X-axis. */ public int repeatX(int n) { int w = 1; for( n--; n>=0; n-- ) w *= x.get(n).size(); return w; }
/** * Computes the repeat count of n-th X-axis. */ public int repeatX(int n) { int w = 1; for( n--; n>=0; n-- ) w *= x.get(n).size(); return w; }
/** * Computes the repeat count of n-th X-axis. */ public int repeatX(int n) { int w = 1; for( n--; n>=0; n-- ) w *= x.get(n).size(); return w; }
/** * Computes the repeat count of n-th X-axis. */ public int repeatX(int n) { int w = 1; for (n--; n >= 0; n--) { w *= x.get(n).size(); } return w; }
private int calc(List<Axis> l, int n) { int w = 1; for( n++ ; n<l.size(); n++ ) w *= l.get(n).size(); return w; }
private int calc(List<Axis> l, int n) { int w = 1; for( n++ ; n<l.size(); n++ ) w *= l.get(n).size(); return w; }
private int calc(List<Axis> l, int n) { int w = 1; for (n++; n < l.size(); n++) { w *= l.get(n).size(); } return w; }
private int calc(List<Axis> l, int n) { int w = 1; for( n++ ; n<l.size(); n++ ) w *= l.get(n).size(); return w; }
private int calc(List<Axis> l, int n) { int w = 1; for( n++ ; n<l.size(); n++ ) w *= l.get(n).size(); return w; }
/** * Obtains the continuous unique index number of this {@link Combination} * in the given {@link AxisList}. */ public int toIndex(AxisList axis) { int r = 0; for (Axis a : axis) { r *= a.size(); r += a.indexOf(get(a)); } return r; }
/** * Obtains the continuous unique index number of this {@link Combination} * in the given {@link AxisList}. */ public int toIndex(AxisList axis) { int r = 0; for (Axis a : axis) { r *= a.size(); r += a.indexOf(get(a)); } return r; }
/** * Obtains the continuous unique index number of this {@link Combination} in * the given {@link AxisList}. */ public int toIndex(AxisList axis) { int r = 0; for (Axis a : axis) { r *= a.size(); r += a.indexOf(get(a)); } return r; }
/** * Obtains the continuous unique index number of this {@link Combination} * in the given {@link AxisList}. */ public int toIndex(AxisList axis) { int r = 0; for (Axis a : axis) { r *= a.size(); r += a.indexOf(get(a)); } return r; }
/** * Obtains the continuous unique index number of this {@link Combination} * in the given {@link AxisList}. */ public int toIndex(AxisList axis) { int r = 0; for (Axis a : axis) { r *= a.size(); r += a.indexOf(get(a)); } return r; }
@Override public int size() { initPython(); if (pexec.isImplemented(2)) { return pexec.execPythonInt("size"); } else { return super.size(); } }
for( int i=size()-1; i>=0; i-- ) { base[i] = b; b *= get(i).size();