Skip to content

Instantly share code, notes, and snippets.

@grossvogel
Created May 17, 2019 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grossvogel/934337388e4a12bca4869bdb508fc899 to your computer and use it in GitHub Desktop.
Save grossvogel/934337388e4a12bca4869bdb508fc899 to your computer and use it in GitHub Desktop.
const boundedInt = jsc.integer(-MAX_COEFFICIENT, MAX_COEFFICIENT);
const polynomialArbitrary = jsc.nearray(boundedInt).smap(
Polynomial.create,
Polynomial.getCoefficents
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment