scaleCoefficients method

void scaleCoefficients(
  1. num s
)

Scale all of the coefficients by s.

Implementation

void scaleCoefficients(num s) {
  for (var i = 0; i < coefficients.length; ++i) {
    coefficients[i] = coefficients[i] * s;
  }
}