:orphan: Example gallery =============== A couple of examples to illustrate different implementation of dot product (see also :epkg:`sphinx-gallery`). .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_profile_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_profile.py` .. raw:: html
Profile a function
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_long_parallel_process_joblib_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_long_parallel_process_joblib.py` .. raw:: html
Parallelization of a dot product with processes (joblib)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_dot_mul_timeit_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_dot_mul_timeit.py` .. raw:: html
Compares matrix multiplication implementations with timeit
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_associative_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_associative.py` .. raw:: html
Associativity and matrix multiplication
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_dot_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_dot.py` .. raw:: html
Compares dot implementations (numpy, python, blas)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_parallel_process_concurrent_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_parallel_process_concurrent.py` .. raw:: html
Parallelization of a dot product with processes (concurrent.futures)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_filter_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_filter.py` .. raw:: html
Compares filtering implementations (numpy, cython)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_dot_cython_omp_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_dot_cython_omp.py` .. raw:: html
Compares dot implementations (numpy, c++, sse, openmp)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_dot_cython_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_dot_cython.py` .. raw:: html
Compares dot implementations (numpy, cython, c++, sse)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_dot_mul_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_benchmark_dot_mul.py` .. raw:: html
Compares matrix multiplication implementations
.. raw:: html
.. toctree:: :hidden: /auto_examples/plot_profile /auto_examples/plot_long_parallel_process_joblib /auto_examples/plot_benchmark_dot_mul_timeit /auto_examples/plot_benchmark_associative /auto_examples/plot_benchmark_dot /auto_examples/plot_parallel_process_concurrent /auto_examples/plot_benchmark_filter /auto_examples/plot_benchmark_dot_cython_omp /auto_examples/plot_benchmark_dot_cython /auto_examples/plot_benchmark_dot_mul .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_