Librería de métodos numéricos para resolver sistemas de ecuaciones lineales y no lineales
Project description
SC19013UNO
SC19013UNO es una librería en Python que proporciona métodos numéricos para resolver:
- Sistemas de ecuaciones lineales (como el método de Gauss, Gauss-Jordan, Jacobi, etc.).
- Ecuaciones no lineales (como el método de Bisección).
Estructura del Proyecto
SC19013UNO/ ├── SC19013UNO/ │ ├── init.py # Inicialización del paquete │ ├── lineales.py # Métodos para sistemas lineales │ └── no_lineales.py # Métodos para ecuaciones no lineales ├── tests/ # Archivos de prueba │ ├── test_lineales.py # Pruebas para métodos lineales │ └── test_no_lineales.py # Pruebas para métodos no lineales ├── setup.py # Configuración para instalación └── LICENSE # Licencia del proyecto
Instalación
Instalación usando pip:
-
Si tienes
pipinstalado, puedes instalar la librería directamente desde PyPI:pip install SC19013UNO
Ejemplo: Resolver un Sistema Lineal
from SC19013UNO.lineales import SolucionadorLineales
A = [[4, 1, 2], [3, 5, 1], [1, 1, 3]] b = [4, 7, 3]
solucion = SolucionadorLineales.jacobi(A, b) print(solucion)
Ejemplo: Resolver una Ecuación No Lineal (Método de Bisección)
import math from SC19013UNO.no_lineales import SolucionadorNoLineales
Definir la función
f = lambda x: math.cos(x) - x
Encontrar la raíz en el intervalo [0, 1]
raiz = SolucionadorNoLineales.biseccion(f, 0, 1) print(raiz)
Métodos Disponibles
Para Sistemas Lineales (Clase SolucionadorLineales):
gauss(A, b)
gauss_jordan(A, b)
cramer(A, b)
lu(A, b)
jacobi(A, b, x0, tol, max_iter)
gauss_seidel(A, b, x0, tol, max_iter)
Para Ecuaciones No Lineales (Clase SolucionadorNoLineales):
biseccion(f, a, b, tol, max_iter)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sc19013uno-1.0.0.tar.gz.
File metadata
- Download URL: sc19013uno-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeff20b5c562205fa43f8f0965158e518b95a10ea9feb71bc7952f661ce28a28
|
|
| MD5 |
a3252849ef8dfd4e42782fe4dfd4ca65
|
|
| BLAKE2b-256 |
028e0bda5f97376263c20eb23833ed0369c11064c32f629eccd93fa48015137b
|
File details
Details for the file sc19013uno-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sc19013uno-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a1012f5a619e54ce6913951a49ed3deaf41ce5424f36d79c9cba1e36961fd00
|
|
| MD5 |
2437af915f42cac020abde7d07478644
|
|
| BLAKE2b-256 |
3ee17d6a499ad4691781e283f40d892cb78fc76264f85e9a454f3040a74b12f3
|