Librería de métodos numéricos para sistemas de ecuaciones lineales y no lineales
Project description
AA23028UNO
Librería de métodos numéricos para resolver sistemas de ecuaciones lineales y no lineales.
Métodos implementados
- Eliminación de Gauss
- Gauss-Jordan
- Cramer
- Descomposición LU
- Jacobi
- Gauss-Seidel
- Bisección
Instalación
pip install AA23028UNO
Ejemplo de uso general
import numpy as np
from AA23028UNO import *
A = np.array([[2,1,-1],[ -3,-1,2],[ -2,1,2]], dtype=float)
b = np.array([8, -11, -3], dtype=float)
x = gauss_elimination(A, b)
print(x)
Ejemplos de cada método
Eliminación de Gauss
x = gauss_elimination(A, b)
print("Gauss:", x)
Gauss-Jordan
x = gauss_jordan(A, b)
print("Gauss-Jordan:", x)
Cramer
x = cramer(A, b)
print("Cramer:", x)
Descomposición LU
x = lu_decomposition(A, b)
print("LU:", x)
Jacobi
x = jacobi(A, b)
print("Jacobi:", x)
Gauss-Seidel
x = gauss_seidel(A, b)
print("Gauss-Seidel:", x)
Bisección
def f(x):
return x**3 - x - 2
root = bisection(f, 1, 2)
print("Bisección:", root)
Consulta examples.py para más ejemplos y casos de uso.
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
aa23028uno-0.1.0.tar.gz
(3.0 kB
view details)
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 aa23028uno-0.1.0.tar.gz.
File metadata
- Download URL: aa23028uno-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc17257d9cd786d8a7485268db299d31b78d48540a58ee86a668656e42ddcaa9
|
|
| MD5 |
bd9421069f1b47d0342ee10a5e4c49df
|
|
| BLAKE2b-256 |
8823e4f0e7e819439595cc90dc653ef3cc8e234a819ea716a05869181e06bef0
|
File details
Details for the file AA23028UNO-0.1.0-py3-none-any.whl.
File metadata
- Download URL: AA23028UNO-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7598134d4c41f52aaa9f827baeea17f5426b2b5ec5378b7e6c2519173b7f42a5
|
|
| MD5 |
d9d76477cd9274c878bcef36c9a29b60
|
|
| BLAKE2b-256 |
81297abf0b3f4ff1ae458b1f561f02c61a23910955b56bc56b095db93d2a3601
|