LoginSignup
0
0

More than 1 year has passed since last update.

「行列式」を参考にWolframAlphaとSymPy Liveでやってみたい。

Last updated at Posted at 2018-11-30

(オリジナルポスト)

WolframAlphaで

SymPy Liveで

勉強中

旧タイトル:sympyで「行列式(determinant)」をやってみた

リンク切れ
(参考)やっぱり線形代数は必要 #6 行列式=体積拡大率(2)

https://qiita.com/Jingorho/items/453fd5623ea396892ddb

(参考)Julia+SymPyで行列式が正しく求められなかった件
https://qiita.com/nyoi/items/b52bd5baefc2902812cf

sympy

fullscript.py
from sympy import *
M=Matrix([[2,1, 3,2],
          [6,6,10,7],
          [2,7, 6,6],
          [4,5,10,9]])
print(M)
print(det(M))
# Matrix([[2, 1, 3, 2], [6, 6, 10, 7], [2, 7, 6, 6], [4, 5, 10, 9]])
# -12

Wolfram|Alpha

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0