<jupyter_start><jupyter_text>Matrix and its operations<jupyter_code>#numpy
import numpy as np
a = np.array([[-5,0],[4,1]])
print(a)
print()
b = np.array([[6,-3],[2,3]])
print(b)
print()
print(a+b)
print()
print(b-a)
print()
print(a-b)<jupyter_output>[[-5  0]
 [ 4  1]]

[[ 6 -3]
 [ 2  3]]

[[ 1 -3]
 [ 6  4]]

[[11 -3]
 [-2  2]]

[[-11   3]
 [  2  -2]]
{'fraction_non_alphanumeric': 0.26988636363636365, 'fraction_numerical': 0.08522727272727272, 'mean_word_length': 3.4683544303797467, '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': '568675', 'license': 'Apache-2.0', 'n_tokens_mistral': 195, 'n_tokens_neox': 186, 'n_words': 40, 'path': 'Python_Exercise_1.ipynb', 'repo_name': 'vargas0721/Linear-Algebra-58019', 'size': '352'}