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.2.tar.gz (2.6 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.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 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.2.tar.gz
Algorithm Hash digest
SHA256 d391b15d661661cfb8e064389990d90ffcd47a72943aba7152bf9dafa9cd6b96
MD5 ee8778f127ea1d1e4ca3197020021c35
BLAKE2b-256 f6b900e4602b5ba8c396954efb2c3d483ea6f785c947a23aa948d13ae5b932a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d65c2c421e96af2490c19982f2a1162d6026e95fbc0a18b367a19d609d2d910
MD5 aafadc2424da74fd5dd4c48f0935d4fb
BLAKE2b-256 9b134a6bccb5cd0d4ab5b44dedcffb06170b5b2ac68e5cde304bed70ecaa1038

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