<jupyter_start><jupyter_text>ejemplo del libroEjemplo de la pagina 11<jupyter_code>import numpy as np
a=np.array([[2, 4, 6, 18],[4, 5, 6, 24],[3, 1, -2, 4]])
a
a[0,:] = a[0,:]/2
a
a[1,:] = a[1,:] - (4 * a[0,:])
a[2,:] = a[2,:] - (3 * a[0,:])

a
a[1,:] = a[1,:] / 3
a

a[1,:] = a[1,:] * (-1)
a
a[0,:] = a[0,:] - (2* a[1,:])
a[2,:] = a[2,:] - (5* a[1,:])

a
a[2,:] = a[2,:] + (10* a[1,:])
a
a[2,:] = a[2,:] * (-1)
a
a[0,:] = a[0,:] + a[2,:]
a[1,:] = a[1,:] - (2* a[2,:])
a
a[0,:] = a[0,:] - a[2,:]
a
import matplotlib.pyplot as plt<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.3774597495527728, 'fraction_numerical': 0.10554561717352415, 'mean_word_length': 3.8275862068965516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '403721', 'license': 'CC0-1.0', 'n_tokens_mistral': 388, 'n_tokens_neox': 348, 'n_words': 75, 'path': '2020b/matrices/Matrices_con_numpy.ipynb', 'repo_name': 'aedaniel411/intro-progr-py', 'size': '559'}