Approximation & Stability
========================

.. automodule:: numpyy.approximation
   :members:

Example: Least Squares Fit
--------------------------

.. code-block:: python

   import numpyy as ny
   
   x = [1, 2, 3]
   y = [2, 4, 6]
   # Fit line
   poly = ny.least_squares(x, y, degree=1)
   print(f"Fit: {poly}")
