Skip to content

Instantly share code, notes, and snippets.

@tshev
Created May 25, 2014 12:29
Show Gist options
  • Save tshev/9eb87c594b157db06fac to your computer and use it in GitHub Desktop.
Save tshev/9eb87c594b157db06fac to your computer and use it in GitHub Desktop.
Polynomial division.
import numpy as np
xPoly = [1, 2, 1]
yPoly = [-1, 1]
np.polydiv(xPoly, yPoly)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment