Created
May 5, 2013 19:52
-
-
Save fonnesbeck/5521963 to your computer and use it in GitHub Desktop.
Matrix for second differneces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| I2 = 2*np.eye(8) | |
| E = -np.diag(np.ones((7)), k=-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment