[amazon_link asins=’4774170372,4062577046,B00ZR7XVNO,4822295915′ template=’ProductCarousel’ store=’izayoi55-22′ marketplace=’JP’ link_id=& …
線形代数 行列式(2次, 3次) サラスの公式

public string[] 優技録 = { "Data Science", "Linux", "MS", "DB", "AWS", "Infrastructure", "C#", "PHP", "Python", "JavaScript"};
[amazon_link asins=’4774170372,4062577046,B00ZR7XVNO,4822295915′ template=’ProductCarousel’ store=’izayoi55-22′ marketplace=’JP’ link_id=& …
1 2 3 4 5 |
# yum install epel-release # yum install python34 python34-libs python34-devel python34-pip # pip3 install numpy |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# vi matrix.py # coding: utf-8 import numpy as np import math def main(): #行列の積 matrixA = np.matrix([ [6, 2, -2], [1, 4, 5] ]) matrixB = np.matrix([ [7, 2, 5], [7, 2, -2], [1, 3, 9] ]) retMatrix = matrixA * matrixB print(retMatrix) if __name__ == '__main__': main() |
1 2 3 4 |
# python3 matrix.py [[54 10 8] [40 25 42]] |
爆速レンタルサーバならConoH …