About 50 results
Open links in new tab
  1. python - How to use np.vectorize? - Stack Overflow

    Feb 13, 2021 · Isn't the answer to How to use np.vectorize? usually "Don't. It just pretends to be a vectorized function but is just a loop with a different name"?

  2. simd - What is "vectorization"? - Stack Overflow

    Sep 14, 2009 · Many CPUs have "vector" or "SIMD" instruction sets which apply the same operation simultaneously to two, four, or more pieces of data. Modern x86 chips have the SSE instructions, …

  3. How to vectorize with gcc? - Stack Overflow

    Jan 3, 2009 · The v4 series of the gcc compiler can automatically vectorize loops using the SIMD processor on some modern CPUs, such as the AMD Athlon or Intel Pentium/Core chips. How is this …

  4. python - Performance of Pandas apply vs np.vectorize to create new ...

    Oct 6, 2018 · np.vectorize, list comprehension + zip and map methods, i.e. the top 3, all have roughly the same performance. This is because they use tuple and bypass some Pandas overhead from …

  5. gcc - -ftree-vectorize option in GNU - Stack Overflow

    Nov 6, 2015 · With the GCC compiler, the -ftree-vectorize option turns on auto-vectorization, and this flag is automatically set when using -O3. To what level does it vectorize? I.e., will I get SSE2, …

  6. Is it possible to numpy.vectorize an instance method?

    Feb 26, 2018 · The decorator version @vectorize is harder to apply than the function version. Your method f takes two arguments, self and x. vectorize isn't smart enough to assign Dummy() to self, …

  7. python - Apply np.vectorize along one axis - Stack Overflow

    Sep 4, 2021 · Apply np.vectorize along one axis Ask Question Asked 4 years, 6 months ago Modified 4 years, 6 months ago

  8. How to vectorize operations in pandas data frame? - Stack Overflow

    Dec 29, 2023 · How to vectorize operations in pandas data frame? Ask Question Asked 2 years, 3 months ago Modified 2 years, 3 months ago

  9. How to vectorize an image using OpenCV? - Stack Overflow

    Nov 23, 2021 · Here is an example picture I'm trying to "vectorize": What I would like to do is (using OpenCV) separate the corncob from the green stock it's attached to, and separate each corncob …

  10. Using Numpy Vectorize on Functions that Return Vectors

    Using Numpy Vectorize on Functions that Return Vectors Asked 15 years, 8 months ago Modified 3 years, 3 months ago Viewed 125k times