Skip to content

Instantly share code, notes, and snippets.

@robsannaa
Created November 29, 2019 12:32
Show Gist options
  • Save robsannaa/adc132911caeadc6cbc0c78926548e78 to your computer and use it in GitHub Desktop.
Save robsannaa/adc132911caeadc6cbc0c78926548e78 to your computer and use it in GitHub Desktop.
import numpy as np
R = np.array([[0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 1, 0, 0, 0, 1000, 1, 0, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1],
[0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1],
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment