public float[] setValue(int index, float v[]) { if (getnRWPerm() == 1 || getnRWPerm() == 2) { this.v = v; mDataWR.setFloatSeqData(this, true, index); } return this.v; }
public float multiply(int index, double v) { if (getnRWPerm() == 1 || getnRWPerm() == 2) { this.v[index] *= v; if (nLastV != null) { if (this.v[index] == nLastV[index]) { if (nNum > 2) { return this.v[index]; } } else { nLastV[index] = this.v[index]; nNum = 0; } nNum++; } mDataWR.setFloatSeqData(this, false, index); } return this.v[index]; }
public float decrease(int index) { if (getnRWPerm() == 1 || getnRWPerm() == 2) { this.v[index]--; if (nLastV != null) { if (this.v[index] == nLastV[index]) { if (nNum > 2) { return this.v[index]; } } else { nLastV[index] = this.v[index]; nNum = 0; } nNum++; } mDataWR.setFloatSeqData(this, false, index); } return this.v[index]; }