Date: 27 Feb 2023

Module : scipy

Installation : pip install scipy

About:

SciPy (pronounced “Sigh Pie”) is an open-source software for
mathematics, science, and engineering. It includes modules for
statistics, optimization, integration, linear algebra, Fourier
transforms, signal and image processing, ODE solvers, and more. SciPy
uses NumPy arrays as the basic data structure, and comes with modules
for various commonly used tasks in scientific programming.


Sample:

        # Import the required libraries

        from scipy import linalg

        import numpy as np

        

        # The function takes two arrays

        a = np.array([[7, 2], [4, 5]])

        b = np.array([8, 10])

        

        # Solving the linear equations

        res = linalg.solve(a, b)

        print(res)


Output:

        [0.74074074 1.40740741]


Reference:

https://pypi.org/project/scipy/

https://docs.scipy.org/doc/scipy/
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to