isRealEquation property

bool isRealEquation

Determines whether the polynomial is real or not.

If at least one coefficient is complex, then the polynomial is complex.

Implementation

bool get isRealEquation => coefficients.every((c) => c.imaginary == 0);