SciPy Open-source Python library providing scientific numerical algorithms on top of NumPy arrays.
Overview SciPy is a Python library of scientific numerical algorithms built around NumPy's array computing facilities. It covers tasks such as optimization, integration, interpolation, linear algebra, signal processing and statistics. It is a library within a larger Python workflow, not a complete desktop analysis environment with every editor and plotting tool included.[1]
Contents Algorithms and surrounding tools SciPy supplies numerical methods and specialized structures such as sparse matrices. Computationally intensive routines often use compiled implementations underneath Python interfaces. Plotting lies outside SciPy's scope and normally uses a separate compatible library. A workflow replacing an integrated numerical application consequently needs to account for the Python environment, array library, plots and interactive tools as separate components.[1] [2]
Migrating MATLAB-style calculations The NumPy guide for MATLAB users documents important semantic differences. Python indexing begins at zero, ordinary array multiplication is elementwise rather than matrix multiplication, and slicing can return a view into existing data. Translating a formula character by character can therefore change its meaning or mutate data unexpectedly. Porting should compare array shapes, operators and copy behavior as well as the selected SciPy algorithm.[3]
MAT-file interoperability SciPy's loadmat supports the documented older MAT-file versions through 7.2. MATLAB Version 7.3 requires an HDF5 library outside that interface. Options also influence array dimensions, structure representation and data types. Reading variables provides a data handoff; it does not execute the MATLAB code or reconstruct the toolboxes and application state associated with them.[4]
Availability and licensing SciPy is distributed under a BSD license and can be used for commercial or noncommercial work within those terms. It depends on a compatible Python and numerical-library environment. Commercial support is available separately from providers identified by the project, so free source availability and a supported organizational deployment are different procurement and maintenance questions.[2]
Substitution considerations SciPy together with NumPy and suitable plotting tools can substitute for MATLAB for supported numerical algorithms when a Python implementation is acceptable. This is a rewrite-oriented alternative, not an M-file interpreter. Source behavior, solver settings, output requirements and data interchange determine the actual scope; no general performance advantage or numerical identity is established by this article.[1] [3] [4] [5]
References SciPy overview Scientific algorithms layered on NumPy, BSD license
vendor · retrieved 2026-10-06 SciPy FAQ Numerical library, BSD license; plotting is external
vendor · retrieved 2026-10-06 NumPy for MATLAB users Indexing, multiplication, slicing/view differences; rough equivalents
vendor · retrieved 2026-10-06 SciPy loadmat v4/v6/v7 through7.2; 7.3 requires separate HDF5 support; shape/type options
vendor · retrieved 2026-10-06 MATLAB overview Numerical programming, plots, toolbox ecosystem and Simulink integration
vendor · retrieved 2026-10-06 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.