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