<jupyter_start><jupyter_text><jupyter_code>Python program to inverse and transpose.
##python program to inverse a 3x3 Matrix A=([5,4,2],[6,-3,-5],[3,5,9])
A=np.array([[5,4,2],[6,-3,-5],[3,5,9]])
invA=(np.linalg.inv(A))
print(invA)
##python program to transpose a 3x3 Matrix A=([5,4,2],[6,-3,-5],[3,5,9])
A=np.array([[5,4,2],[6,-3,-5],[3,5,9]])
print(A)

B=np.transpose(A)
print(B)<jupyter_output>[[ 5  4  2]
 [ 6 -3 -5]
 [ 3  5  9]]
[[ 5  6  3]
 [ 4 -3  5]
 [ 2 -5  9]]
{'fraction_non_alphanumeric': 0.2814498933901919, 'fraction_numerical': 0.12366737739872068, 'mean_word_length': 4.662650602409639, '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': '264066', 'license': 'Apache-2.0', 'n_tokens_mistral': 261, 'n_tokens_neox': 244, 'n_words': 47, 'path': 'Matrix_Algebra.ipynb', 'repo_name': 'Francesca2020-eng/Linear-Algebra-58020', 'size': '469'}