public static Polinom operator *(Polinom a, Polinom b) { var res = new Polinom(); (a.Count, b.Count).ForEachRange((i, j) => { res[i + j] += a[i] * b[j]; }); return(res); }
public bool Equals(Polinom other) { if (Count != other.Count) { return(false); } return((Power).Range().All(i => this[i] - other[i] < DoubleExtensions.Epsilon)); }
public PolinomRoot(Polinom polinom) { Polinom = polinom; }