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.5.tar.gz (3.9 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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.5.tar.gz
  • Upload date:
  • Size: 3.9 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.5.tar.gz
Algorithm Hash digest
SHA256 2e9d696f3233845f72d4ab47b35338b987b9a845f58ff899a5465f38dbb3b73b
MD5 78020adff8b115d82fb5860686b08359
BLAKE2b-256 3c486d6edf890927d58eb3863f5a81f097d246831d918c800dc53210f28674e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93992cbfb985a4e65393e19b919540a22db954265ebedd9469995e2bb15358e0
MD5 d59e5dcd309dfa78e4396143a8336e21
BLAKE2b-256 914b424abce672146e19a968fb2e49623e5dee6095faa7a9a078708bcf433c2e

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