public Polynomial Subtract(Polynomial polynomial) { var newCoefficients = Coefficients.ZipLongest(polynomial.Coefficients, (co1, co2) => co1 - co2).ToList(); return(new Polynomial(newCoefficients)); }
public Polynomial Subtract(Polynomial polynomial) { var newCoefficients = Coefficients.ZipLongest(polynomial.Coefficients, (co1, co2) => co1 - co2).ToList(); return(new Polynomial(newCoefficients)); }