mnspy 0.9.4__py3-none-any.whl → 0.9.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,11 +78,12 @@ class SecanteModificada(Raices):
78
78
  -------
79
79
  None
80
80
  """
81
- # Bucle de iteración para evitar recursión profunda
82
- while not self._fin_iteracion():
83
- # Fórmula de la Secante Modificada
84
- self.x -= (self._f(self.x) * self._delta * self.x) / (
85
- self._f(self.x + self._delta * self.x) - self._f(self.x))
81
+ self.x -= (self._f(self.x) * self._delta) / (
82
+ self._f(self.x + self._delta) - self._f(self.x))
83
+ if self._fin_iteracion():
84
+ return
85
+ else:
86
+ self._calcular()
86
87
 
87
88
  def graficar(self, mostrar_sol: bool = True, mostrar_iter: bool = True, mostrar_lin_iter: bool = True,
88
89
  n_puntos: int = 100):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mnspy
3
- Version: 0.9.4
3
+ Version: 0.9.6
4
4
  Summary: Paquete didáctico para métodos numéricos
5
5
  Home-page: https://github.com/EdwinSoft/mnspy
6
6
  Author: Edwin Córdoba
@@ -55,6 +55,16 @@ Puedes instalar `mnspy` a través de pip:
55
55
  pip install mnspy
56
56
  ```
57
57
 
58
+ ## Dependencias
59
+ mnspy se basa en varias bibliotecas científicas y de visualización de Python. Las principales dependencias, que se instalan automáticamente, son:
60
+ + **`NumPy`** y **`SciPy`**: Para el manejo de arrays, operaciones matriciales y algoritmos numéricos subyacentes.
61
+ + **`SymPy`**: Para la manipulación de expresiones simbólicas.
62
+ + **`Matplotlib`**: Para la generación de todas las gráficas.
63
+ + **`Tabulate`**: Para la presentación de tablas de resultados.
64
+ + **`IPython`**: Para la visualización enriquecida en notebooks de Jupyter.
65
+ + **`Pandas`**: Para la manipulación de datos.
66
+ + **`Gmsh`**: Para la importación de mallas en el módulo de elementos finitos.
67
+
58
68
  ## Módulos Disponibles
59
69
 
60
70
  La biblioteca se organiza en los siguientes módulos:
@@ -61,10 +61,10 @@ mnspy/raíces/newton_raphson.py,sha256=S7DTVCxSwMr1l9YScM7B3dlemN1NIdJM74AaGJApC
61
61
  mnspy/raíces/punto_fijo.py,sha256=yGlx3PZ19s2ENtb515ytH1Vxw0Van_6-hyC2XRWLi4g,4711
62
62
  mnspy/raíces/raices.py,sha256=lTjSOk84sg1VdlElmHaZSRen00zpt0jNrnFBx_SStnU,17510
63
63
  mnspy/raíces/secante.py,sha256=t8-NcN-Ki8BYrh3Cf3VUjaaRLxz6qV1v5i8johKBlZs,5220
64
- mnspy/raíces/secante_modificada.py,sha256=HFwtirmQDPtf6wpvYNzXD0nGsDIQJe_nsAFCW5eyAmw,5196
64
+ mnspy/raíces/secante_modificada.py,sha256=zk0nWY2tI1bEC8VVu3F5Bjq4M5V7qM3VSPm-l5Sr2IM,5115
65
65
  mnspy/raíces/wegstein.py,sha256=FGAyie7PeNWc1yx2CF7dZv7IjZJtVXrkwnYkpTIaVwM,5508
66
- mnspy-0.9.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
67
- mnspy-0.9.4.dist-info/METADATA,sha256=xJKK5NhaJ7mv2Ecz3KtfRTc7nRJYCRdB_7mtKV24CDo,3723
68
- mnspy-0.9.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
- mnspy-0.9.4.dist-info/top_level.txt,sha256=fbooZdZwS41I8vFuAXnn5qL4_mfc1aPt_DM60ZpvtKE,6
70
- mnspy-0.9.4.dist-info/RECORD,,
66
+ mnspy-0.9.6.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
67
+ mnspy-0.9.6.dist-info/METADATA,sha256=Q8UYrXEyJaldkN53InuwH5YRJIEyGFOb-cImyNGDf9k,4414
68
+ mnspy-0.9.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
+ mnspy-0.9.6.dist-info/top_level.txt,sha256=fbooZdZwS41I8vFuAXnn5qL4_mfc1aPt_DM60ZpvtKE,6
70
+ mnspy-0.9.6.dist-info/RECORD,,
File without changes