getCoefficient method

int getCoefficient(
  1. int degree
)

@return coefficient of x^degree term in this polynomial

Implementation

int getCoefficient(int degree) {
  return _coefficients[_coefficients.length - 1 - degree];
}