degree property

int get degree

Get the degree of the Polynomial

Returns an integer representing the degree

Implementation

int get degree => coefficients.length - 1;