반응형 역행렬1 Numpy - Transposed Matrix(전치행렬), Reverse Matrix(역행렬), and Vector usage Here is an example to explain the matrix of Numpy Library 넘피 라이브러리의 매트릭스에 대해서 쉽게 눈으로보며 넘어갈 수 있게 만든 예제입니다. import numpy as np import pandas as pd a = np.matrix([[1,2], [3,4]]) # = ('1 2;3 4') a.T : create the transposed matrix of a print(a.I) # np.matrix.I => a.I : create the reverse matrix of a Results created by np.matrix can see them below with transposed matrix, and reverse matrix. np.matrix .. 2022. 6. 28. 이전 1 다음 728x90 반응형