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.0.tar.gz (3.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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.0.tar.gz
  • Upload date:
  • Size: 3.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.0.tar.gz
Algorithm Hash digest
SHA256 1e9360dd58be76fd0ae90e03b835ff9651af58913d6e41a876d9bfab7d7abbe2
MD5 058f38e052c468517af24d83bd3e69f6
BLAKE2b-256 f54efd911f854712ce03156b529cb9f3cdbef4bbef69c67ba54651810b6ba200

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0326c6c50558b0a10a60106c330866b59a8b091979a516497037f6b006b418f1
MD5 991fd126780951387d4a3bbb21b899af
BLAKE2b-256 f011a45498d3631b3c78c94ff2e7bd701a4e226afea8f8d557fe1903442509bd

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