Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:44:29+00:00 2026-06-04T14:44:29+00:00

Possible Duplicate: Relationship between scipy and numpy For instance, NumPy has window functions bartlett

  • 0

Possible Duplicate:
Relationship between scipy and numpy

For instance, NumPy has window functions bartlett, blackman, hamming, hanning, kaiser, while SciPy has these and several more, but they seem to produce identical output.

NumPy has numpy.fft.fft2(a, s=None, axes=(-2, -1)).

SciPy has scipy.fftpack.fft2(x, shape=None, axes=(-2, -1), overwrite_x=0).

Why are there duplicates? Just for backwards compatibility? If so, why are they defined differently in different places? Which should I prefer when writing something new?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:44:30+00:00Added an answer on June 4, 2026 at 2:44 pm

    From the SciPy FAQ:

    In an ideal world, NumPy would contain nothing but the array data type and the most basic
    operations: indexing, sorting, reshaping, basic elementwise functions, et cetera. All
    numerical code would reside in SciPy. However, one of NumPy’s important goals is
    compatibility, so NumPy tries to retain all features supported by either of its
    predecessors. Thus NumPy contains some linear algebra functions, even though these more
    properly belong in SciPy. In any case, SciPy contains more fully-featured versions of the
    linear algebra modules, as well as many other numerical algorithms. If you are doing
    scientific computing with python, you should probably install both NumPy and SciPy. Most new
    features belong in SciPy rather than NumPy.

    So yes, the duplicates are for backwards compatibility. In general, they give the same result. However, as the FAQ states, new features are usually implemented into SciPy, but not necessarily NumPy. This includes bug fixes. I have found, for example, that numpy.linalg.eig returned incorrect eigenvalues for a complex matrix, whereas scipy.linalg.eig returned correct ones.

    In general, I prefer stick with the "ideal world" scenario from the FAQ: I use NumPy for the basic array manipulations, and SciPy for all my linear algebra. This way I don’t run into any surprises.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: iPhone Interface Builder and Delegates What is the relationship between these three
Possible Duplicate: Space bar not working in form fields Has anyone run into an
Possible Duplicate: If I have two tables in SQL with a many-many relationship, do
Possible Duplicate: Opening url in new tab while i am doing window.open(), my page
Possible Duplicate: C - Difference between char var[] and char *var? I have written
Possible Duplicate: What is the difference between #include <filename> and #include “filename”? I just
Possible Duplicates: Why are two different concepts both called “heap”? What's the relationship between
Possible Duplicate: Unload a module in Python After importing Numpy, lets say I want
Possible Duplicate: Find out the instance id from within an ec2 machine I am
Possible Duplicate: MySQL Relationships I am trying to create a one to many relationship

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.