mirror of
https://github.com/Visualize-ML/Book4_Power-of-Matrix.git
synced 2026-05-05 04:44:28 +08:00
Add files via upload
This commit is contained in:
@@ -58,7 +58,7 @@ with st.sidebar:
|
||||
\sin(\theta) & \cos(\theta)
|
||||
\end{bmatrix}''')
|
||||
|
||||
theta = st.slider('Degree',-180, 180, step = 5, value = 0)
|
||||
theta = st.slider('Theta degree: ',-180, 180, step = 5, value = 0)
|
||||
|
||||
theta = theta/180*np.pi
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ with st.sidebar:
|
||||
a = st.slider('a',-2.0, 2.0, step = 0.1, value = 1.0)
|
||||
b = st.slider('b',-2.0, 2.0, step = 0.1, value = 0.0)
|
||||
c = st.slider('c',-2.0, 2.0, step = 0.1, value = 0.0)
|
||||
d = st.slider('c',-2.0, 2.0, step = 0.1, value = 1.0)
|
||||
d = st.slider('d',-2.0, 2.0, step = 0.1, value = 1.0)
|
||||
|
||||
theta = np.pi/6
|
||||
A = np.array([[a, b],
|
||||
|
||||
Reference in New Issue
Block a user