:orphan: .. _examples: ======== Examples ======== These are examples of how APyTypes can be used. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_apyfloat_thumb.png :alt: :ref:`sphx_glr_examples_apyfloat.py` .. raw:: html
APyFloat
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_apyfixed_thumb.png :alt: :ref:`sphx_glr_examples_apyfixed.py` .. raw:: html
APyFixed
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_numpy_integration_thumb.png :alt: :ref:`sphx_glr_examples_numpy_integration.py` .. raw:: html
NumPy integration
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_vectorrotation_thumb.png :alt: :ref:`sphx_glr_examples_vectorrotation.py` .. raw:: html
Fixed-point vector rotation
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_reciprocal_lookup_thumb.png :alt: :ref:`sphx_glr_examples_reciprocal_lookup.py` .. raw:: html
Reciprocal lookup table
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_test_fp8_mul_thumb.png :alt: :ref:`sphx_glr_examples_test_fp8_mul.py` .. raw:: html
cocotb integration
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /examples/apyfloat /examples/apyfixed /examples/numpy_integration /examples/vectorrotation /examples/reciprocal_lookup /examples/test_fp8_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: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_