public double GetValue() { if(this.buf == null) return 0; int n = this.integer - this.Delay; int i = 0; if(n < 0) { i = -n; n = 0; } double y = 0; for(; i<this.Length; ++i, ++n) y += this.buf[n] * this.coef[i]; return y; }