[Chennaipy] Chennaipy - Monday Module - 27 Feb 2023
selvi dct
selvi.dct at gmail.com
Mon Feb 27 02:39:02 EST 2023
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/chennaipy/attachments/20230227/525ec3a1/attachment.html>
More information about the Chennaipy
mailing list