Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 4th, 2015
198
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
n_comp = 10
s1 = np.diag(s)
print s1[0].shape
print s1[1].shape
for i in range(s1[0].shape[0]):
for j in range(s1[1].shape[0]):
if j >= n_comp:
s1[i][j] = 0
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Method to get 13,000$ in 2 days
CSS | 25 min ago | 0.91 KB
Crypto Exploit
CSS | 25 min ago | 0.91 KB
Untitled
1 hour ago | 29.02 KB
Untitled
3 hours ago | 35.22 KB
Untitled
5 hours ago | 0.02 KB
Untitled
5 hours ago | 11.45 KB
Secrets.kdbx
6 hours ago | 97.10 KB
kube-prometheus-stack_servicecluster
YAML | 9 hours ago | 3.59 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!