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.1.tar.gz (3.8 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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 372a6c76c40442247fd16e3f4d8d916b7d27d0f462ffb03cbe35cf485806aaec
MD5 44591c879bca483e80a52ea433d6f769
BLAKE2b-256 23f9593ea37851a4dea6b23fff9bed1d86bf60eeb4751fe78f4f56d7f3d833e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MM22025UNO-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7461a01c3c6f8d1c81f37b393a10b18686b7d846411b0bec4f70739fdeded528
MD5 05f8471a5d8415386502654bfed59495
BLAKE2b-256 c70b81accb9fb77a895478cfbeadeab299be638a46df82df48710d50e27cdb29

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