Skip to main content

Librería para resolver sistemas de ecuaciones lineales y no lineales

Project description

MM22025UNO

MM22025UNO es una librería en Python para resolver sistemas de ecuaciones lineales y no lineales mediante distintos métodos numéricos clásicos.

📦 Instalación

pip install MM22025UNO

Asegúrate de tener numpy y scipy instalados. Si no, se instalarán automáticamente con la librería.


📘 Métodos implementados

Métodos lineales:

  • Eliminación de Gauss
  • Gauss-Jordan
  • Cramer
  • Descomposición LU
  • Método de Jacobi
  • Método de Gauss-Seidel

Métodos no lineales:

  • Método de Bisección

📌 Ejemplos por método

🔹 Eliminación de Gauss

from MM22025UNO.lineales import eliminacion_gauss

A = [[2, 1], [1, 3]]
b = [8, 13]
sol = eliminacion_gauss(A, b)
print(sol)

🔹 Gauss-Jordan

from MM22025UNO.lineales import gauss_jordan

A = [[2, 1], [1, 3]]
b = [8, 13]
sol = gauss_jordan(A, b)
print(sol)

🔹 Cramer

from MM22025UNO.lineales import cramer

A = [[2, 1], [1, 3]]
b = [8, 13]
sol = cramer(A, b)
print(sol)

🔹 Descomposición LU

from MM22025UNO.lineales import descomposicion_lu

A = [[2, 1], [1, 3]]
b = [8, 13]
sol = descomposicion_lu(A, b)
print(sol)

🔹 Jacobi

from MM22025UNO.lineales import jacobi

A = [[4, 1], [2, 3]]
b = [1, 2]
x0 = [0, 0]
sol = jacobi(A, b, x0)
print(sol)

🔹 Gauss-Seidel

from MM22025UNO.lineales import gauss_seidel

A = [[4, 1], [2, 3]]
b = [1, 2]
x0 = [0, 0]
sol = gauss_seidel(A, b, x0)
print(sol)

🔹 Bisección

from MM22025UNO.no_lineales import resolver_biseccion

f = lambda x: x**3 - x - 2
raiz = resolver_biseccion(f, 1, 2)
print(raiz)

📤 Licencia

Este proyecto está licenciado bajo los términos de la MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MM22025UNO-0.1.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

MM22025UNO-0.1.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file MM22025UNO-0.1.3.tar.gz.

File metadata

  • Download URL: MM22025UNO-0.1.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for MM22025UNO-0.1.3.tar.gz
Algorithm Hash digest
SHA256 928aa25d9da1df3ef9828722565febe5ad27e784f46503a5677199b849a4aab9
MD5 4fb4e7d26bd4d96adf86471f368d4eda
BLAKE2b-256 dd32a703be08791b6be600c44ee7a6de6eb01a61defd6803db490118e46d077c

See more details on using hashes here.

File details

Details for the file MM22025UNO-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: MM22025UNO-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for MM22025UNO-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73975688ed784d68fcac19a7eb25bec4c8ae8724fbfa954242a294a04eb892b5
MD5 ef6c1bd092c8616dbc2424f185133315
BLAKE2b-256 9dcddfd426c9b69f7d8ac88899f520160c4a2e787cad2a7f2fa7ae1d014eb4d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page