<jupyter_start><jupyter_text>Use Python Program to *Inverse*<jupyter_code>import numpy as np
A = np.array ([[1,2,3],[4,5,6],[7,8,9]])
print(A)
import numpy as np
A=np.array([[1,2],[4,7]])
B=(np.linalg.inv(A))
print(B)
import numpy as np
A = np.array([[1,2],[4,7]])
invA = (np.linalg.inv(A))
print(invA)
C=np.dot(A,invA)
print(C)


#Python Program to Inverse (A 3x3 Matrix)
A=np.array([[6,1,1],[4,2,5],[2,8,7]])
print(A)
#Python Program to Inverse 3x3 Matrix A = (A)

A=np.array([[6,1,1],[4,2,5],[2,8,7]])
print(A)
B=np.transpose(A)
print(B)
#Python Program to Inverse a 3x3 Matrix A=([[6,1,1],[4,-2,5],[2,8,7]])
A=np.array([[6,1,1],[4,-2,5],[2,8,7]])
print(A)
B=(np.linalg.inv(A))
print(B)
#Python Program to Inverse a 4x4 Matrix A=([[6,1,1,3],[4,-2,5,1],[2,8,7,6],[3,1,9,7]])
A=np.array([[6,1,1,3],[4,-2,5,1],[2,8,7,6],[3,1,9,7]])
print(A)
B=(np.linalg.inv(A))
print(B)
#Python Program to Transpose a 4x4 Matrix A=([[6,1,1,3],[4,-2,5,1],[2,8,7,6],[3,1,9,7]])
A=np.array([[6,1,1,3],[4,-2,5,1],[2,8,7,6],[3,1,9,7]])
print(A)
B=(np.transpose(A))
print(B)<jupyter_output>[[ 6  1  1  3]
 [ 4 -2  5  1]
 [ 2  8  7  6]
 [ 3  1  9  7]]
[[ 6  4  2  3]
 [ 1 -2  8  1]
 [ 1  5  7  9]
 [ 3  1  6  7]]
{'fraction_non_alphanumeric': 0.2994112699747687, 'fraction_numerical': 0.13372582001682085, 'mean_word_length': 5.329787234042553, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '567855', 'license': 'Apache-2.0', 'n_tokens_mistral': 706, 'n_tokens_neox': 672, 'n_words': 119, 'path': 'Matrix_Algebra.ipynb', 'repo_name': 'Matchuuuuu/Linear-Algebra-58019', 'size': '1189'}