From 3fbafda060e7d6f92d080254a7a8b790449d3aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=94=BE=E5=A4=A7=E9=95=9C=E5=88=86=E5=89=B2=E7=BA=BF?= <14647679+magnifier-dividing-line@user.noreply.gitee.com> Date: Fri, 5 Jul 2024 20:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=A0=E4=B8=BD=E9=9C=9E=E7=9A=84=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pythonProject/.idea/.gitignore | 8 + .../inspectionProfiles/profiles_settings.xml | 6 + pythonProject/.idea/misc.xml | 7 + pythonProject/.idea/modules.xml | 8 + pythonProject/.idea/pythonProject.iml | 10 ++ pythonProject/2.py | 8 + .../__pycache__/datas.cpython-312.pyc | Bin 0 -> 1068 bytes pythonProject/datas.py | 154 ++++++++++++++++++ pythonProject/yc.py | 23 +++ 9 files changed, 224 insertions(+) create mode 100644 pythonProject/.idea/.gitignore create mode 100644 pythonProject/.idea/inspectionProfiles/profiles_settings.xml create mode 100644 pythonProject/.idea/misc.xml create mode 100644 pythonProject/.idea/modules.xml create mode 100644 pythonProject/.idea/pythonProject.iml create mode 100644 pythonProject/2.py create mode 100644 pythonProject/__pycache__/datas.cpython-312.pyc create mode 100644 pythonProject/datas.py create mode 100644 pythonProject/yc.py diff --git a/pythonProject/.idea/.gitignore b/pythonProject/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/pythonProject/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/pythonProject/.idea/inspectionProfiles/profiles_settings.xml b/pythonProject/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/pythonProject/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/pythonProject/.idea/misc.xml b/pythonProject/.idea/misc.xml new file mode 100644 index 0000000..2a01189 --- /dev/null +++ b/pythonProject/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/pythonProject/.idea/modules.xml b/pythonProject/.idea/modules.xml new file mode 100644 index 0000000..e15ec35 --- /dev/null +++ b/pythonProject/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/pythonProject/.idea/pythonProject.iml b/pythonProject/.idea/pythonProject.iml new file mode 100644 index 0000000..2c80e12 --- /dev/null +++ b/pythonProject/.idea/pythonProject.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/pythonProject/2.py b/pythonProject/2.py new file mode 100644 index 0000000..aeee301 --- /dev/null +++ b/pythonProject/2.py @@ -0,0 +1,8 @@ +import numpy as np + +a=np.array([[1,2,3],[4,5,6],[7,8,9]]) +b=np.array([[1,2,3],[4,5,6],[7,8,9]]) + +print(np.linalg.pinv(a)) #奇异矩阵 逆 +print(a.T) #转置 +print(a.dot(b)) #点乘 \ No newline at end of file diff --git a/pythonProject/__pycache__/datas.cpython-312.pyc b/pythonProject/__pycache__/datas.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..85948dec5d2f81285c359a88b78f2e195cb446d1 GIT binary patch literal 1068 zcmb`EJxjw-6oyYetJSngthMz61QA;YL2wWeCueaK=@NRQMyjo8gl1F(H*rxHK@k@n z#2?^4aB;i@2SF6NRa`_6JU6`+sYnqFBXvAOaDIgs)7LW0kXrtbTC>NhEEY+e4B_^c%DOjxT0;iF9(-cs|BC9#%!7b2dmM zJl_nti!|~H&W(IG=SDu+l<)atKGl>@H|^icc-dS8zc1Ursp7po?H@d!ZB^&dRz)Uw zh2WHW0J3Tz=N-=vWXrX!KwPN=Qe|T)P|BWPumh#!I(gff#LKTrtcRr05#|>9P_741 zcKUIx!qzfF=(d@wF?YzEJ_1l5;{5Vy@5J$t9m+(`qP&fwoMuoS#!zl10Oqnnpb*Qm z$`|m8TfqD9>{PDgdn?8D!9pcB&i%YwT($FFE{u+q{P(u$wIbOp*fVYdyVy6D?@()! zAPBW6=qVaEs1~EKIMofRCtkFOqSj0>(o{FuYFwv=NsaCng+$oV^;^eZ3jeWHvOaF| j$5gyf|G@84wJQ9as#V9YXZ+(