# SciPy

Open\-source Python library providing scientific numerical algorithms on top of NumPy arrays\.

ID: Q595 · Revision: 643

Type: software · License: BSD license; free commercial and noncommercial use under its terms[^scipy-home][^scipy-faq] · Status: active

Website: https://scipy.org/



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\.[^scipy-home]

## 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\.[^scipy-home][^scipy-faq]

## 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\.[^numpy-matlab]

## 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\.[^scipy-mat]

## 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\.[^scipy-faq]

## Substitution considerations

SciPy together with NumPy and suitable plotting tools can substitute for [MATLAB](/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\.[^scipy-home][^numpy-matlab][^scipy-mat][^matlab-home]

## Capabilities and substitutions

### Scientific numerical methods — supported

Python interfaces provide optimization, integration and other scientific algorithms\.[^scipy-home]

Use case: Numerical programming · Platforms: Runtime, platform and dependency dependent · Region: License eligibility, platform support, package dependencies and hosted\-service terms apply\.

### MAT\-file reading — limited

loadmat supports formats through 7\.2; 7\.3 needs separate HDF5 support\.[^scipy-mat]

Use case: MATLAB data handoff · Platforms: Runtime, platform and dependency dependent · Region: License eligibility, platform support, package dependencies and hosted\-service terms apply\.

### [Substitute for MATLAB](/matlab) — limited

Assessment: use SciPy with NumPy and separate visualization tools; rewrite language and array semantics rather than assuming M\-file execution\.[^scipy-home][^scipy-faq][^numpy-matlab]

Use case: Supported numerical algorithms in Python · Platforms: Runtime, platform and dependency dependent · Region: License eligibility, platform support, package dependencies and hosted\-service terms apply\.

## References

[^scipy-home]: [SciPy overview](<https://scipy.org/>) — Scientific algorithms layered on NumPy, BSD license (vendor; retrieved 2026-10-06T21:57:08Z)

[^scipy-faq]: [SciPy FAQ](<https://scipy.org/faq/>) — Numerical library, BSD license; plotting is external (vendor; retrieved 2026-10-06T21:58:10Z)

[^numpy-matlab]: [NumPy for MATLAB users](<https://numpy.org/doc/stable/user/numpy-for-matlab-users.html>) — Indexing, multiplication, slicing/view differences; rough equivalents (vendor; retrieved 2026-10-06T21:58:10Z)

[^scipy-mat]: [SciPy loadmat](<https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html>) — v4/v6/v7 through7\.2; 7\.3 requires separate HDF5 support; shape/type options (vendor; retrieved 2026-10-06T21:58:10Z)

[^matlab-home]: [MATLAB overview](<https://www.mathworks.com/products/matlab.html>) — Numerical programming, plots, toolbox ecosystem and Simulink integration (vendor; retrieved 2026-10-06T21:57:08Z)

Source revision: https://substitutefor.net/entities/Q595?revision=643
