質問するログイン新規登録

質問編集履歴

1

不要な記述の削除

2021/05/29 10:39

投稿

qyoeku
qyoeku

スコア25

title CHANGED
@@ -1,1 +1,1 @@
1
- Pythonで行列式と逆行列を求めるコードの意味が理解できず困っております
1
+ Pythonで行列式と逆行列を求めるコードの意味の全体像が理解できず困っております
body CHANGED
@@ -8,10 +8,8 @@
8
8
 
9
9
  import copy
10
10
  from fractions import Fraction
11
- # Not the world's most fancy thing, but a simple "pretty printer", a function that prints a data structure so that it's easy to read
12
11
  from pprint import pprint
13
12
 
14
- # part of your homework: add comments to this code as we learn what it does!
15
13
  # first, what are the inputs to this? Matrix a&b
16
14
  # what are the outputs? det(a),x ...a*x=b if b=I you can invert a
17
15
  # what assumptions are made? A is regular, the number of rows of A, and that of B is the same.