mirror of
https://github.com/Visualize-ML/Book4_Power-of-Matrix.git
synced 2026-05-09 23:53:47 +08:00
Add files via upload
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
# Bk4_Ch4_15.py
|
||||
|
||||
import numpy as np
|
||||
A = np.array([[3, 1],
|
||||
[2, 4]])
|
||||
A = np.array([[4, 2],
|
||||
[1, 3]])
|
||||
|
||||
# calculate determinant of A
|
||||
det_A = np.linalg.det(A)
|
||||
|
||||
Reference in New Issue
Block a user