from math import sqrt
from numpy import diag
from numpy import dot
from numpy import array
from scipy.linalg import svd
import math
a = array([[0, 1, 1], [math.sqrt(2), 2, 0], [0, 1, 1]])
print(a)
u, s, T = svd(A)
Sigma = diag(s)
B = u.dot(Sigma.dot(T))
print(u)
print(B)
print(T)

af91bee1b06a18434618beeba9861d046e2f60c8
<mask token>

<mask token>
print(a)
<mask token>
print(u)
print(B)
print(T)

<mask token>
a = array([[0, 1, 1], [math.sqrt(2), 2, 0], [0, 1, 1]])
print(a)
u, s, T = svd(A)
Sigma = diag(s)
B = u.dot(Sigma.dot(T))
print(u)
print(B)
print(T)

from math import sqrt
from numpy import diag
from numpy import dot
from numpy import array
from scipy.linalg import svd
import math
a = array([[0, 1, 1], [math.sqrt(2), 2, 0], [0, 1, 1]])
print(a)
u, s, T = svd(A)
Sigma = diag(s)
B = u.dot(Sigma.dot(T))
print(u)
print(B)
print(T)
