/// <summary> /// Builds a new continious filter using the supplied filter design. /// </summary> /// <param name="filterDesign"> /// The design of the filter providing the build polynomials. /// </param> public ContinuousFilter(IFilterDesign filterDesign) { this.filterDesign = filterDesign; this.xv = new double[filterDesign.PolynomialCoefficients.B.Count]; this.yv = new double[filterDesign.PolynomialCoefficients.A.Count]; }
/// <summary> /// Builds a new Block filter using the supplied filter design. /// </summary> /// <param name="filterDesign"> /// The design of the filter providing the build polynomials. /// </param> public BlockFilter(IFilterDesign filterDesign) { this.filterDesign = filterDesign; }